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 DBB8642600; Tue, 19 Sep 2023 11:55:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CBA2F406A2; Tue, 19 Sep 2023 11:55:40 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2138.outbound.protection.outlook.com [40.107.96.138]) by mails.dpdk.org (Postfix) with ESMTP id B67EA406A2 for ; Tue, 19 Sep 2023 11:55:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LAVWQBYwpjeu0mhlsGXW5XHjxFKEVcjrFH56oek9jImzOLoEeNwuKmN+HV+F7UYRO9MJ76ep2MABXVBGy8udz554l7kCqWezt4vJmeNvk+3f4x8r4ImDVqE3OcEuHhvOlwaOQqK9EEWaV/2LTZScEPBO9bptZRfu14nZtwCH+6XZ0rIaf7be3ahbIdQg14LN308rq0wfSjGNlc5IfX74JeCGzW/uytC3fmor4R1oe0TopNfls++wxTcPfMwUxJOICpW79yRivhKh1WYLkYphM1YHPonne+OUwsQwwdFXiB7ZCM/ORvNoI3MyqBoBoBtL0ddVEF2K69GX5xafqDuIBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Is0SjbMb+W8JmaOpRCpislK0ZU9HXIOSdCo6SuQlc9Q=; b=HXkBDdSy9risc6ImVa/1LwvTRsFCvCxJ6PiG6lwE10zxQ7VJM81O8qgRXh8IK+hWEcDhNeVhOGRgS2ac2eTZ/sMRNoXAO9GkP04VZiHtl8gc7AFkygUWpNQydQ/kbLYariZ9hsJJnMGGOD5FSyyPmPYt14WiCkHiRWYYMc/wq+5aK65Xa9bUXbV7tWcaY6YHXH98/YC9OPGNNkrYgjpFDGSlOYMCvmo1kivHpuPB8j5AwR4rz9v755eKjqsNkJFQ0PzN49czKOWg73zvZc3vnAXpiFac8jTaTOKvCc3vJ9geIJb8Bq2VbzBd3g+JHEsB6sDSOLHy+fsVOrt3zp6wpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Is0SjbMb+W8JmaOpRCpislK0ZU9HXIOSdCo6SuQlc9Q=; b=bvROYTMBitvDBj2Y3opUFt7heloviYYrVl6dqpeXHbPjh+EwQlpnMRa5A/d6N8oQakep+dzSmJeRK2P638ikj35DlzWrr+fGCyMs0JNCDWOOEcFc5qs2sb+W3EIQj6t5dUxD+YEsbkpFhk9pnPuWudJ1qn/y3hb+tvKtiKru/Ww= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by PH7PR13MB5868.namprd13.prod.outlook.com (2603:10b6:510:15a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Tue, 19 Sep 2023 09:55:35 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7a1c:2887:348a:84bd]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7a1c:2887:348a:84bd%6]) with mapi id 15.20.6792.026; Tue, 19 Sep 2023 09:55:35 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v5 09/26] net/nfp: unify the guide line of header file Date: Tue, 19 Sep 2023 17:54:23 +0800 Message-Id: <20230919095440.45445-10-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230919095440.45445-1-chaoyong.he@corigine.com> References: <20230918024612.1600536-1-chaoyong.he@corigine.com> <20230919095440.45445-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BY5PR04CA0014.namprd04.prod.outlook.com (2603:10b6:a03:1d0::24) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH7PR13MB5868:EE_ X-MS-Office365-Filtering-Correlation-Id: cdc6308c-c5e8-4983-58f0-08dbb8f6921a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HfN1cdmWyjp/aMk9dWiyj1ZZ/VacsncV5vfx7Ad5ksSO1365kES+6pBuL3kE+zX1oAr7M+Y1dPIQGG/K2mRZ+9H5+tyhoc4+4Ec42pYjeYkfAGFwWMHeqGyBZ3JwvBBM1nOc8+m8AaJ6nxDswYIpVhcsSDG9IXMqDynV1T0aATdVvuSX6yk9aQzoEJX3pTfTZRiDGtDb5usLQ6o+CjIsks18nsY0Op2fiqB9Hh8ak30XDfCaE+TZ3ffU7TwWaG/t7QRdsvVcnM7zjhM7aSK+i62qTlS60/hSR0v+JngLsEM8EPlVNrwwaNRYjBcymuKML1aCu+uMxS2SJPJMwFKqw4VYKLzC/R4GyiqCB/Ip2NQu+1jTXhbTwI7vAvwUZPGZ0X174/sQjgC05oJwxpuCD8iFFnYh/NPW7YRBllaQcDilHBtfFA9mpMtDTvfYLlZJ0w6g96m4JKItKCnd54CSTDtekp0zIuKfRL09oZcYWwcwCN+FUD7T8Ta0a0HfNkoY+gbSSJe7HaFvipktgDW7Zp2qvgnmP2IkxsWtl3KEenMyvb+K3Llr98AD0usEYD6AsW5FfwNMDVPxdbpQZ3T7oiIiEDqWP4/z8Pvw0867A2E9cF4CzXs5aaVxs7ppGsfxg423/1V8i4gzLUn7jtttOStSKLo7wAANNn76jrAj6Y8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(39830400003)(366004)(346002)(376002)(396003)(1800799009)(186009)(451199024)(26005)(8936002)(2616005)(1076003)(8676002)(4326008)(107886003)(83380400001)(2906002)(36756003)(44832011)(86362001)(52116002)(6506007)(6486002)(478600001)(5660300002)(6666004)(6916009)(316002)(6512007)(38100700002)(66946007)(66476007)(41300700001)(66556008)(38350700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?y0p9ydJJw8DSMsyxypowM50/ApiIMQqeuLGeWrdchDjmPiIa1s5vKN3LoRSu?= =?us-ascii?Q?e2kkqtCdmU020pt6k6nOwBUrTooellsI6uhh5Voz9l45mGRTu5/uvTAy8Xd2?= =?us-ascii?Q?6DZqZGLbX/TnxLRBJZX6rUYV9wwX4uRjkI9/oc4KOUuYx4VA7pf88q3hGoa2?= =?us-ascii?Q?Fuh3wBmX95+ELAXjp7Mr5SU+a/WhFYPEzMsVyHSkbrKmD49a64xLyJqSMp8O?= =?us-ascii?Q?4Hvq/h0Bm1Pd88CLC+gtagpH2CiKwcH34toZx5KOBsnYXBf0M/s6JkaBWbX4?= =?us-ascii?Q?WRGMyTMHEOHw6Ye9IsNxDhl3xJLuWrXtinY4r3sZwKqbu/vckw2Nk1TwxtdR?= =?us-ascii?Q?u/sdcxdtagmw8BLF8Xiyp5+/Wj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?Q?EB1lEeWcza+rwXJPdM6B8+bXubG8TqJB6mFJF6JdJIdl0AZ/knM6bCdEpdEF?= =?us-ascii?Q?GW5uuNLL/T+9eob7A0gM6Bn6sam0REourL7CwHPn206YWM9UwRMPmN2UTEcT?= =?us-ascii?Q?kGQokbpAVI+M4lgEVaeDKRwsfq1d0MPyrYyiIec1jdyGbDd3YF8H7PQLalOH?= =?us-ascii?Q?Xmeygxkn6VIWfMclBl4sTtpMFBavgGTyc4KSavjVyRmu/csn9rnDfd/WxBgc?= =?us-ascii?Q?HlZzSgzCQLPsjpKaXYRzeGHr9TuNmaGbvZSoas86lwEczXIMAcyfPwfAP9mg?= =?us-ascii?Q?n6RYScHsIem+/VdpzufjzFwDRpvMjMjN3Dd92FRJb1xEk8+wSOCB8TZVYhoX?= =?us-ascii?Q?TQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdc6308c-c5e8-4983-58f0-08dbb8f6921a X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2023 09:55:35.8506 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: boECmyxeKmoXBCJLDKj8mzTlcBy99100X+iceZoF/jPY0DePeHJlQJfIdT0npEF9UEPWue7Kwzj2jKQJp3k8aiRzKhv0O5skpgPbfgti74c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB5868 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 Unify the guide line of header file, we choose '__FOO_BAR_H__' style. Signed-off-by: Chaoyong He --- drivers/net/nfp/nfpcore/nfp_cpp.h | 2 +- drivers/net/nfp/nfpcore/nfp_hwinfo.h | 2 +- drivers/net/nfp/nfpcore/nfp_mip.h | 2 +- drivers/net/nfp/nfpcore/nfp_nffw.h | 2 +- drivers/net/nfp/nfpcore/nfp_nsp.h | 6 +++--- drivers/net/nfp/nfpcore/nfp_resource.h | 6 +++--- drivers/net/nfp/nfpcore/nfp_rtsym.h | 2 +- drivers/net/nfp/nfpcore/nfp_target.h | 6 +++--- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/net/nfp/nfpcore/nfp_cpp.h b/drivers/net/nfp/nfpcore/nfp_cpp.h index 92cae2557a..ceb4d56a08 100644 --- a/drivers/net/nfp/nfpcore/nfp_cpp.h +++ b/drivers/net/nfp/nfpcore/nfp_cpp.h @@ -442,4 +442,4 @@ int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex); uint32_t nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp); -#endif /* !__NFP_CPP_H__ */ +#endif /* __NFP_CPP_H__ */ diff --git a/drivers/net/nfp/nfpcore/nfp_hwinfo.h b/drivers/net/nfp/nfpcore/nfp_hwinfo.h index 37427bb6c8..543562779a 100644 --- a/drivers/net/nfp/nfpcore/nfp_hwinfo.h +++ b/drivers/net/nfp/nfpcore/nfp_hwinfo.h @@ -81,4 +81,4 @@ struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp); const char *nfp_hwinfo_lookup(struct nfp_hwinfo *hwinfo, const char *lookup); -#endif +#endif /* __NFP_HWINFO_H__ */ diff --git a/drivers/net/nfp/nfpcore/nfp_mip.h b/drivers/net/nfp/nfpcore/nfp_mip.h index 16824a6769..371c635b97 100644 --- a/drivers/net/nfp/nfpcore/nfp_mip.h +++ b/drivers/net/nfp/nfpcore/nfp_mip.h @@ -19,4 +19,4 @@ void nfp_mip_strtab(const struct nfp_mip *mip, uint32_t *addr, uint32_t *size); int nfp_nffw_info_mip_first(struct nfp_nffw_info *state, uint32_t *cpp_id, uint64_t *off); -#endif +#endif /* __NFP_MIP_H__ */ diff --git a/drivers/net/nfp/nfpcore/nfp_nffw.h b/drivers/net/nfp/nfpcore/nfp_nffw.h index e032b6cce7..f84be463c4 100644 --- a/drivers/net/nfp/nfpcore/nfp_nffw.h +++ b/drivers/net/nfp/nfpcore/nfp_nffw.h @@ -75,4 +75,4 @@ struct nfp_nffw_info { struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp); void nfp_nffw_info_close(struct nfp_nffw_info *state); -#endif +#endif /* __NFP_NFFW_H__ */ diff --git a/drivers/net/nfp/nfpcore/nfp_nsp.h b/drivers/net/nfp/nfpcore/nfp_nsp.h index ee58bf33b8..7bf584dcd0 100644 --- a/drivers/net/nfp/nfpcore/nfp_nsp.h +++ b/drivers/net/nfp/nfpcore/nfp_nsp.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef NSP_NSP_H -#define NSP_NSP_H 1 +#ifndef __NSP_NSP_H__ +#define __NSP_NSP_H__ #include "nfp_cpp.h" #include "nfp_nsp.h" @@ -260,4 +260,4 @@ enum nfp_nsp_sensor_id { int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, uint32_t *val); -#endif +#endif /* __NSP_NSP_H__ */ diff --git a/drivers/net/nfp/nfpcore/nfp_resource.h b/drivers/net/nfp/nfpcore/nfp_resource.h index 4236950caf..18196d273c 100644 --- a/drivers/net/nfp/nfpcore/nfp_resource.h +++ b/drivers/net/nfp/nfpcore/nfp_resource.h @@ -3,8 +3,8 @@ * All rights reserved. */ -#ifndef NFP_RESOURCE_H -#define NFP_RESOURCE_H +#ifndef __NFP_RESOURCE_H__ +#define __NFP_RESOURCE_H__ #include "nfp_cpp.h" @@ -33,4 +33,4 @@ uint64_t nfp_resource_address(const struct nfp_resource *res); uint64_t nfp_resource_size(const struct nfp_resource *res); -#endif /* NFP_RESOURCE_H */ +#endif /* __NFP_RESOURCE_H__ */ diff --git a/drivers/net/nfp/nfpcore/nfp_rtsym.h b/drivers/net/nfp/nfpcore/nfp_rtsym.h index de1966f04b..fdde1eb75b 100644 --- a/drivers/net/nfp/nfpcore/nfp_rtsym.h +++ b/drivers/net/nfp/nfpcore/nfp_rtsym.h @@ -58,4 +58,4 @@ uint64_t nfp_rtsym_read_le(struct nfp_rtsym_table *rtbl, const char *name, uint8_t *nfp_rtsym_map(struct nfp_rtsym_table *rtbl, const char *name, uint32_t min_size, struct nfp_cpp_area **area); -#endif +#endif /* __NFP_RTSYM_H__ */ diff --git a/drivers/net/nfp/nfpcore/nfp_target.h b/drivers/net/nfp/nfpcore/nfp_target.h index 195e599d31..2a2f083914 100644 --- a/drivers/net/nfp/nfpcore/nfp_target.h +++ b/drivers/net/nfp/nfpcore/nfp_target.h @@ -3,7 +3,7 @@ * All rights reserved. */ -#ifndef NFP_TARGET_H -#define NFP_TARGET_H +#ifndef __NFP_TARGET_H__ +#define __NFP_TARGET_H__ -#endif /* NFP_TARGET_H */ +#endif /* __NFP_TARGET_H__ */ -- 2.39.1