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 70A62430EF; Thu, 24 Aug 2023 13:12:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22F744329E; Thu, 24 Aug 2023 13:11:09 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2097.outbound.protection.outlook.com [40.107.220.97]) by mails.dpdk.org (Postfix) with ESMTP id 70B2E4326F for ; Thu, 24 Aug 2023 13:11:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IpH6IXSDbK5gbe56qxw2FhYdEX8K/CRHqznEXyX8kG1E/0V/1KoYpdzSX+6cjhubm1Nc5l4yygviKtfBcyLxyDYsorG3CZTGw/7tDFqATFDTgCIbNGdL68WbmvUCr+ygYOKW6nIlnDB9l8Gz9mwcWU6YoQ2z92oLpRF+gK4LDDy4b3t/J4MCL7PksORqCO8r4blCgW9cLePGH7uCAQ5Fdgb2AZ3l0r+azPWVjo+D/MWlx9hTwUOGXIjE8rct5k/R5HdbU9Pz8oktbHguYV/Aw13LUxPH4TSjjrAK3hDZKZxqp5+j9nWvUSu7Hn/a6c5p47XuCgFQMzlh4lCWldD8lw== 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=T54rhif8aOXsyXPPU2DIH6lQl9TXcckjjOabCKDvn3WAMQna/kmCrjt0l4IHuU6JPLKKZoJSzYs8pl5/H7NmPGFEf6PE2qeP2vc2KgXo0GfytpWbd7khcZRoOre5sHW2ekXKpn6+BNAGwIuuur69Afhfzzgqa0+3Kr73I5kMMBUG5zLClj9eVu5sZqbwlz9OTJoxCLo2wlBR+J2WtjmDmh15dAuY8qUETOX8+4s1JRKVJARJxE7bPWU5uRUZPXskrRi1ZU+lOtuQneKtmpj/FEa9qDYhfuR+DOJGuqc6rMF3UwrIo6Esi6WEGPPHyalTTNoKf6tm3q/fgYnfQ0MABQ== 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=pxO8KvacJZHR1vQFqhn3mS24M4/ZMuQkLusAUurZIhmerq9anrgsor3r2UyC8vp6rUTK7E3O8LVhjKQf4GOmidExU9oot15PW8mycwNC/8HE1+N2qNtyZqxgDiGpnQ0LZjmA0Sayj9uUxuCYZDcz7PMyqtF+vjPzGUjTSeNYOpM= 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 PH0PR13MB6134.namprd13.prod.outlook.com (2603:10b6:510:295::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.26; Thu, 24 Aug 2023 11:11:04 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::51fe:5846:af8b:bace]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::51fe:5846:af8b:bace%3]) with mapi id 15.20.6699.020; Thu, 24 Aug 2023 11:11:04 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH 10/27] net/nfp: unify the guide line of header file Date: Thu, 24 Aug 2023 19:09:39 +0800 Message-Id: <20230824110956.1943559-11-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230824110956.1943559-1-chaoyong.he@corigine.com> References: <20230824110956.1943559-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SJ0PR05CA0005.namprd05.prod.outlook.com (2603:10b6:a03:33b::10) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH0PR13MB6134:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fac4644-fe8f-4497-aef4-08dba492ce73 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /vHo6VZ+OMUqGiNk6Ir2aup1GtNdJTw1Bqu3NMlAF4WC8GVmFdkYhcHmZNQHRy3IXhJ6w695efXhvAaSe70pqn1lJZxiexNFZwOIod+l0EHasjlHmU4p5UCert6MxPGPze6CtpUO220D0F+o5r8CgAIrBpioY9d4Ur2MF3wYtJ4vYJPsXXa3m4ZJ8p65j+I6c/cuPCKwyfzPSfriZsq0tMaUjSYJe1lzdER3zyV3JAfRLwi3x8HWx5QGXaiMsdQPldd/Xrxd5R1ufM20N7ByMSsc7t2anU/cA/g3LWJKLfjekHDnN7dA/ZVnYUbWqbGOaOsz+tELcD90j50ELl+asBvB2L+tJ7s1i3/KtrgV+qZxIg0IuLVfrP8zF76pjCd+tsumhBGtjuKie2J/FYQSJIDF08YMVR0ATtZiJKL9RZs+udDwh7nHGUAYcq7NXkfxAmEO3LlVHC9CE7dXZgSIA62iZb5HkaJMQfUN8myaNADlkNxZXyq2/FtqlZu7QXWOtL5rpZGWhf1aUEFq6evhUEgHbdvH0tqSUbEvl23FwuzP0NHY9VuwEmt7sXsaiFgE7Pm2UxU6FJfhCZeabwSj2jYazkNoPeo0DUR1ygYiak081Pf0ZDqUe9wBrTN2BpTVIUCBMR58GSsnFwC2LvFYRnTXGM9h8iEnqtdYDlft9a+/bLkR94AA8/SRNN37Xb9s1K0lQFhhZartGGFSy/5Jpg== 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)(346002)(396003)(366004)(136003)(376002)(39830400003)(1800799009)(451199024)(186009)(316002)(66556008)(6916009)(66946007)(66476007)(12101799020)(41300700001)(44832011)(5660300002)(8936002)(8676002)(38100700002)(66574015)(38350700002)(4326008)(2906002)(83380400001)(26005)(86362001)(478600001)(107886003)(52116002)(36756003)(6506007)(6666004)(6512007)(6486002)(2616005)(1076003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?LzNtQm4wQzBuai96V2FUZFArMkh5V0ZXTnllR0UxQ3RZSWt3d08xT0xkMWtL?= =?utf-8?B?WWN5cDgvcjdTeDc4ZE9udlprakxCaTFadExDTG16cXdEbGRHUURGS09VTCs1?= =?utf-8?B?L2lja3JLMU84QlhrcmFsQXhoaDQrYThaSUxSNHRoblNtSTlYbHpiNm56RDJ4?= =?utf-8?B?OWJRdXhvbVdHd1VBU2t5TmhwQitHWTBXcFd4SVBkbVVJS3FpcFhHWCtpaWFa?= =?utf-8?B?dEpkdGNlUk1pSG5reEFTU3hnOUpjOHBoSk5jYktScy9Ub3h0SkEzaUluTVRU?= =?utf-8?B?MjlualQ0YXVELytPMXFwbCtPd3dSd2VEVTArb0xFM3JnYUYxd2grdmhSdi9Z?= =?utf-8?B?NlF4L1M3WjdEZ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-8?B?RWc9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7fac4644-fe8f-4497-aef4-08dba492ce73 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2023 11:11:04.2310 (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: GN3ptA6pkgVOEIW5BXISzZgWJZx3knloUYTuGzl+pXh/liKN3gh8sY7NkbvXbC2vcjgM7QB+f0N52Sip52Z96NxOLyTQOhXNJUSyZqzg+XU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR13MB6134 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