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 8B5AC41FC8; Wed, 30 Aug 2023 04:17:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 352D2402CD; Wed, 30 Aug 2023 04:15:49 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2098.outbound.protection.outlook.com [40.107.93.98]) by mails.dpdk.org (Postfix) with ESMTP id DD7D9402B0 for ; Wed, 30 Aug 2023 04:15:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dw8IbXqT1MRfeMNoD2Qz52UsAXERrj2sEQy6DifZvf5BXReJ/kAFNsSoPoGlZwZAv4WblwyEY5anh5xdXeDWElXp8FemNBZFu+fUSPxaS/4vyHQ9dwsFJQyWs6P5ZkDG5jtUYQmjT6qEKeQrM+Qtpl+yuE6lwxPsGpiDXkY2HWa8AUVobfhbaj7FoSgzBxflTtTyHt/Dkq7/+5QWpvWoDRnW+dzEueMRwVcoffiKC04BqmmIXTf7OvvUADdu/Ca4C95jBf4bGd6/B8MgERMsuiHlmp4cOWkB3g9Vsl/tVZs7xbhGzgH6GszEKHpDdcyV19tF51SlIBLuurOgXukCnA== 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=ieIHswHHb+N+Lv15+T4Mq4+kAQC2r0B+HYWKf2S20KXIBp66pZqyahxtXC/n3S6TYeukgQN8FpXlj/87jkGyNUYMIGDwtpZOLU/8PcfnumFyxxsLJDUM/RSCjWijW4NXo/wyHlSGUpCjZoSHzwzDtvqYFOIlrMRVkWWOthpGbFnPp4lBIkjhBTc37ZnG1rZnnZgvkWwYnWwhwvf1gOKR5tAI7i/ljW4pg6eMtk8g3q/4keLIa/Gr0EPH7ZWPBLZnlfzxSSxSN1aHm5rP/RnJC8t9B+HadhriXPDedc3oJV78OJLF5oiZzqnHW3AatnhaaDzQtMEsG8oqBLN3ep1KWg== 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=c7N+taqDrt65k3aYTPFeSP/FmwcdK19Wa5rHgUB2x7ETdqZ++vKvGRONmqmqqqnzMtX9v4om+EaChsu4yQF+nuk/T2UpHTlC+yebnNvpWqiidtLqIn+fwdvlgE2ZA87APLkWMbWKVJu6xA/LJLp49gRLShA+LWamjdcSNjAY6lI= 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 DM6PR13MB3786.namprd13.prod.outlook.com (2603:10b6:5:229::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.18; Wed, 30 Aug 2023 02:15:43 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::c0f3:c2cc:b5bb:4192]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::c0f3:c2cc:b5bb:4192%4]) with mapi id 15.20.6699.034; Wed, 30 Aug 2023 02:15:43 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH v2 10/27] net/nfp: unify the guide line of header file Date: Wed, 30 Aug 2023 10:14:40 +0800 Message-Id: <20230830021457.2064750-11-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230830021457.2064750-1-chaoyong.he@corigine.com> References: <20230824110956.1943559-1-chaoyong.he@corigine.com> <20230830021457.2064750-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PH0PR07CA0113.namprd07.prod.outlook.com (2603:10b6:510:4::28) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|DM6PR13MB3786:EE_ X-MS-Office365-Filtering-Correlation-Id: e2ad27cd-325e-43be-d6b4-08dba8ff035d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 80OjFJ33Pe3F+5J6dq5U2zKQ12ZXjP25sex/uucC+6HVsi9aRr9N0k6GFeLW+q6be1NkKDesZCeUJCE1fAfEr9zUqCjkMyMfFTmsUS3DLRLB09lNkwWN2NqG7ZivHM2CyN1xc9e/X8El0f+STMKgavV1BwOSa32x+UA7Lk8RiVRz2WifKryeGHAuS1qm1VxDWW/sfy623OLj14+LJAH4MHEQGvgCW3C1r1kfmJx+bMFdeoLVnSRV+ZjLGHYCfv9tZ9Oc7R/H6j5oEm8DHiotRi+DlKyWZlMYseoRjLd3LLZc6OV4ZdjLtmELBZIN+pAErBZUPf/cJCWV5feoqtJEk9uDVOWZLLL1GpR+edjvMZ0g9dywprAcZZnjwdcjem4AhBISXKx1QFKQVL2l12jSK1wR55ao0uxJGFk3AyY3Xp8eY8qj3fiUUj8LH/jJgl83tgTxKfIZZ3eGBkJdxDq8caIJC5coyVvagrD5KhzyKd/MjD/M67JM/kIgdA+5abZRGIVa6c0uXfYmVicrZXBF539iMvVHDjJ7IhaOqysuvjm7eVzHj7LAlfwD+LmfwXxWp9RXpq6zLgtNTTEB1XH14N7mmZBnlTJf21KhfIN6BgRxQAx9A1kWH7A5vtb+3YC0l246/Y+3umZtU7xG4f/I+Bn9rTtn30lBepJ2iYak7lE= 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)(366004)(376002)(346002)(396003)(39830400003)(451199024)(186009)(1800799009)(6512007)(6916009)(316002)(38100700002)(41300700001)(38350700002)(2906002)(4326008)(66574015)(83380400001)(2616005)(86362001)(44832011)(26005)(36756003)(1076003)(8676002)(5660300002)(107886003)(8936002)(6506007)(6486002)(66556008)(66946007)(66476007)(52116002)(478600001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bXVCQ0s4ZSt1VmFXQUdBL3RhMm5tTkRoZ1Y3M25zNVRnVms2Q2JaSGRKRjJk?= =?utf-8?B?eGpjOWVKclhxamZXbGw3eENmVlRIK0hXL0FINjdNZjRjZXVtMjcxYW1nZUp1?= =?utf-8?B?Vks4TStsZUdoYzgwUHl5TnRrelZrTGdJUFIwY1BWU29jS0FwcGM2RW8zNUdX?= =?utf-8?B?anRkUS95aHU1TytNcmxzR2p6VW5DSnJtbG5Id1ZmV2paaUswVW9mL29wbVBM?= =?utf-8?B?TnNXUTBnT2NnZG0ySXh1U0kyWXI3cVQrY1lrcEUyTXdJWUVsTjI4RnZocHh4?= =?utf-8?B?dlZVcFFVYnJhY1pFWDRRTUZjYjAzK3FVRVV0UGlNQVZYMEVMQWxJcnZscmdQ?= =?utf-8?B?VTYvUnNjWmd2aW80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-8?B?ZXc9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2ad27cd-325e-43be-d6b4-08dba8ff035d X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2023 02:15:43.3227 (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: /T5Q3cJ/AnzGnUCbUKpaOA7Dca8HV1DqzD4t1of8U/8bI8niXIiPYaVZnXVwBHOjx7feuPgqH0o5Wjs0nezR9BzWgRsN1E9IKWRQJqOqarA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB3786 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