From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A89A145844; Thu, 22 Aug 2024 09:41:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F43A42E71; Thu, 22 Aug 2024 09:41:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 76D2942E68 for ; Thu, 22 Aug 2024 09:41:20 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47M1U4Gs009927; Thu, 22 Aug 2024 00:41:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=Z 1Z/Vj4s1GV6p4TxLs281kDLwlZSOVxh5n8QARrueyE=; b=NyZGsY+xlhzHwmwc/ bhb6VlvdZ2q6lpFG1m8giJfXzMHArFv+c+vi+EdS65BOabpTNuV4t2GOaSwphRIH o4ubSf6RtJlNu0eCmLcTnjOsvl4hfuFUD8ZnxG1AmVZeN44mernRuAzLrzFHpVgS lzPCoJSUEUQw9NScZJwUUfAK4h2lXA13a8ZF1Ea57Pak2YHXBMw10/pTmDVEBZR4 UXV+jw+g0iEdDzp2JB3H4GbWcYJ/aBjXbeWOBC4d30VT9L3imDZjHrptXm+P0S8r nhxf3WqvfMFWy75UFqYv3wMpbvLXt/HoN+bqnobRQM2waHnLDbbaR0VrlxcIpgfQ AMQNQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 415uqns0yd-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Aug 2024 00:41:19 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 22 Aug 2024 00:41:16 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 22 Aug 2024 00:41:16 -0700 Received: from anoobj2204.marvell.com (unknown [10.28.34.118]) by maili.marvell.com (Postfix) with ESMTP id C78995B6C67; Thu, 22 Aug 2024 00:17:08 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Fan Zhang CC: Hemant Agrawal , Jerin Jacob , Aakash Sasidharan , Tejasree Kondoj , Vidya Sagar Velumuri , Subject: [PATCH 5/6] test/crypto: start opening brace in new line Date: Thu, 22 Aug 2024 07:16:33 +0000 Message-ID: <20240822071651.2403105-6-anoobj@marvell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240822071651.2403105-1-anoobj@marvell.com> References: <20240822071651.2403105-1-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: kzhPp8-3qzygWbqR1L2MdjXN4mgtAWv8 X-Proofpoint-ORIG-GUID: kzhPp8-3qzygWbqR1L2MdjXN4mgtAWv8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-22_03,2024-08-19_03,2024-05-17_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Start opening brace of the function body in new line as suggested in coding guideline. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h index c56ef2fe3f..b479ab8a2a 100644 --- a/app/test/test_cryptodev.h +++ b/app/test/test_cryptodev.h @@ -144,7 +144,8 @@ pktmbuf_write(struct rte_mbuf *mbuf, int offset, int len, const uint8_t *buffer) } static inline uint8_t * -pktmbuf_mtod_offset(struct rte_mbuf *mbuf, int offset) { +pktmbuf_mtod_offset(struct rte_mbuf *mbuf, int offset) +{ struct rte_mbuf *m; for (m = mbuf; (m != NULL) && (offset > m->data_len); m = m->next) @@ -158,7 +159,8 @@ pktmbuf_mtod_offset(struct rte_mbuf *mbuf, int offset) { } static inline rte_iova_t -pktmbuf_iova_offset(struct rte_mbuf *mbuf, int offset) { +pktmbuf_iova_offset(struct rte_mbuf *mbuf, int offset) +{ struct rte_mbuf *m; for (m = mbuf; (m != NULL) && (offset > m->data_len); m = m->next) @@ -173,8 +175,8 @@ pktmbuf_iova_offset(struct rte_mbuf *mbuf, int offset) { static inline struct rte_mbuf * create_segmented_mbuf(struct rte_mempool *mbuf_pool, int pkt_len, - int nb_segs, uint8_t pattern) { - + int nb_segs, uint8_t pattern) +{ struct rte_mbuf *m = NULL, *mbuf = NULL; int size, t_len, data_len = 0; uint8_t *dst; -- 2.45.2