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 62BF5425C9; Mon, 18 Sep 2023 04:48:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4F3140EE4; Mon, 18 Sep 2023 04:47:36 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2099.outbound.protection.outlook.com [40.107.244.99]) by mails.dpdk.org (Postfix) with ESMTP id 10B3640ED1 for ; Mon, 18 Sep 2023 04:47:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ghZFZq49OBApWG7JCmO08X1UXkSwJwOSWzzXoSMN3YSfMXWqNV5QKu1FwwiZcBLdinUAtyKpzB3wyqa1aMEymBr81wVrfDAEnmPsI6WwUFqZ1oFovXqTcTRhlbleK+c0axjW2Y3m9mSbq/7lh+5ypLHyWn9xHiO1qsRQkLmfniQ3yRp9iex9+5waUPWoDLAydUCLi29l7+jED1oE4cOrTeC8FHkZ3ow13EFX/B/caII0VOJlrh0Oc6ZwPohHJDAN6+g3RJPEM8DppsYtmysVdv55njWf0ZIuWyHvNfz3BxAbaJJ1TWRURt1NyVOiPdOcytlznXtToia7zqoIyLoR2g== 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=Nart79U2eIQ715z8CazlK3l3facOoPbmIcfF0+QAlxc=; b=Iq8+1wO8kYCuF+5Z07CapXhmD1YjBuKzOjNo1UtHW+Ybm4E8AJhBZZwJfXohS+LkygB0BWlyQbvYbMorM4oA7GOoCs8KAjZ58KOmx11PMYfgVogdZXNIHs7Pn+kxPvqY3uclUNh1mWyAMxStqCppUCc61MRT2s9twBrcABjEXXlOBCotHh2sZt7oiuEUuOdd4zEAD5Q3VFlLFJxgxXe9sEKmYujj/bsZ1az25xuNvBVW8Fi1y0MlDxUT/xv+JWADTNl0+TUmcLj4fw6KS9gfzUXdAoMI3RZ0ePA/Emv0YlC3J1Sej1D9gbAvPoe7BcscSHGs93K0hnXuoYjszWYGyg== 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=Nart79U2eIQ715z8CazlK3l3facOoPbmIcfF0+QAlxc=; b=MuAInfm/VYUuM9JJy8M2oxqAzf+lpKN7Dtiurs9zitECoVCsdor7qDuPL2vWEkz3CEvDzvTse5RsxUrRCYqXHPAjtlN7fz4q8L0+1R+HMrQFcvIRgQwlW7Ro3A81c5+DmNbZReinONtzuOTPi5WNFOeIdSm6irwup/sl35wIHRI= 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 PH7PR13MB6435.namprd13.prod.outlook.com (2603:10b6:510:2ea::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Mon, 18 Sep 2023 02:47:27 +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; Mon, 18 Sep 2023 02:47:27 +0000 From: Chaoyong He To: dev@dpdk.org Cc: Chaoyong He , =?UTF-8?q?Niklas=20S=C3=B6derlund?= Subject: [PATCH v4 09/26] net/nfp: unify the guide line of header file Date: Mon, 18 Sep 2023 10:45:55 +0800 Message-Id: <20230918024612.1600536-10-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230918024612.1600536-1-chaoyong.he@corigine.com> References: <20230915091551.1459606-1-chaoyong.he@corigine.com> <20230918024612.1600536-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SE2P216CA0016.KORP216.PROD.OUTLOOK.COM (2603:1096:101:114::20) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH7PR13MB6435:EE_ X-MS-Office365-Filtering-Correlation-Id: 22e371bd-517e-45e1-3b51-08dbb7f19883 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GwodcLWcThzhvZXCovZQfmXkRV7j7Dk2vnZ+RQ2QCekUrkCVO7p+gJ0mzmS4xpURe4rAh9/6Z0Qx0RXwLoNDzFEcuwuTZ1NMuH2+Q0N+LpXRQlIxAnUKaNWYLj46Mhd8kJ2FiwjY/yWteJm4UTzgK8tlhGYCFK2d9hgsa9ug2VZB8ahi3pJZDcn0zqmB/8abPzie6M/XkHUW65UwQpPnl8Pa/SZC/Dl3EekfOp+843e31bhfAjcxn5VQxoexis8XmZ/g33fk431DibpyVD7eokoI6dDiXrjjbqL96NTJr+sorKYCHKGKRtPWBl5csiScdJafa6cVRtfFb+Zr3IqGiN+E3UfBcjkqn2URSYwaDiExkFQAuFBbQjDw5ZsUuXvBkfIFEBdNjQdLjD7URsskbSIfEXtjqCarlxjgQJlWuEnJFRj5tS79zjXU0lmwP7nrTZ+Z/1W8so2A5V0RY4Nnkg+nMxDSzhPiV5wT1uhZCzXYfA9o7xL1EfQ+EVXytRZFGK+fEPcmhbO5YHdUPjSkD+vX/LZybFCoTfelV5pxwse7Y4LRWCbvTXeUS0VLFtEHd7KDqMiFDIK6bqdp7PmCXO0W7N+5b9XwsUlFZ4MtnxajYaTO+qPyArmh4QsctRzGsjDtPKH0K74wwb1O78dFTECqubvI5p1EOvgyyDL/B/Y= 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)(39830400003)(136003)(346002)(366004)(376002)(396003)(1800799009)(451199024)(186009)(54906003)(66476007)(66946007)(66574015)(41300700001)(6916009)(316002)(8676002)(4326008)(8936002)(52116002)(6506007)(6486002)(6512007)(478600001)(6666004)(83380400001)(26005)(1076003)(2616005)(107886003)(86362001)(2906002)(44832011)(38100700002)(38350700002)(5660300002)(36756003)(66556008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RnNiRmY5V1hiN0ZzUW9aQ0tHVGNhT3J6UEJCeU0yWEJWN3gwRlNHRVVOYkdI?= =?utf-8?B?NGdPVjl2WXRKS0QxcHo3eVdCWkJBc3N0aDVnMTlJWC9JRWd1Nkh0SW9TUSs2?= =?utf-8?B?TlZqSXZ6OVdmTURHM0xPVnlHSHlMSXNuR05mZE5WaDc3Y2dZOGo1WnNYOFpR?= =?utf-8?B?NlhrK3FreFBLNzJ5VGcvd3JKRXIzTnJodXhUZEVhWHAyZ2FkUmVBQlgzUkFs?= =?utf-8?B?SnE0RTQwT2dVTDhTYzdMUnN0MjBIZVNPNWIzUEp5THFIRUhvd0UzblVjWjFK?= =?utf-8?B?bHNOeUdwUCsyQmVkWHg2UXc2QnVFam5ZNVdBb0w5N2dYN2d5VWZSV1g1ZU1i?= =?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5TzZJZDlPL1VQSWlESndDNzM2R0x1Vnpq?= =?utf-8?B?U1E9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22e371bd-517e-45e1-3b51-08dbb7f19883 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2023 02:47:27.8644 (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: SEgsN7KK3VnLUFd5FLt7aUSCxU/IW1L6EVrxz2yKqE5RjuKi0BhrCcG51E5ElCF0h3TiaA836MZ/dGvSHesVbd0WUfefvJ92IXM7ZYsvuR8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB6435 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 Reviewed-by: Niklas Söderlund --- 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