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 29183428CD; Tue, 4 Apr 2023 15:01:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F195F410FB; Tue, 4 Apr 2023 15:01:42 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id AB74740A7E for ; Tue, 4 Apr 2023 15:01:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PE2cUI2t+UCbhsMz9HnYFEf+EO5OtnW0p7O6cR3w5QwrciecpCLflWPmayM92YAX4gV3y+LpoVaj4NPTyQkIOmNjTv+onFAv8uVcscsDBAr7dabKmM0KJQRdiJSBO82BnnjD+kRb3bFXwBAr8fmMjs+JJncVevrZgQsz/bg2mDBWdemtpojwROjPA/atCeIcrk9F0K/ReEOM4J7ZwqB6JU/HiPrqB6InOpNQgvwAp7Bdj41yZsYY00DVTLO/mECmA+lqmhPHtIW5jfEXGvs9PYn2lSgugq/9upOLVkahxGWZG2eufMG0L8GImLwBZwgvlQH8Nh2bDgF+t0pmoRH0fw== 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=YqiFnGoaTDGUe1F8CyBXsXE7BCNRLYzXojgfBzPyzRQ=; b=bdkzb7ZciNfimF9hemuX6TLaiODu64uZBdxNhjSjXEzthbQgwOD0dUxxAazJgHC1HvSFTAkrFP2fMWTp5AZBX60C60NafDHVNwLiFEpJrB2/iKnI6suUUPl3IVq8kk1hGdk+Bs4bT4Y/EVQrLpSun3cpyDOoQChsgpuzIWXStyLrS3LODQQwTNj0QvSV9Bqb73TryHKJxW9XEYszBxI5HK92RpZaJguYKVgI5Cd9NqIY1Eicfsl8gmzivY3h5lignYOh/VLth67qXGn7BcAuVikZ6NLJEOkn5rX3LD15KGiI7Ix2+Dt+Iw43JYmr5q3uLcCJSfw7vjoab9TCP8hvtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YqiFnGoaTDGUe1F8CyBXsXE7BCNRLYzXojgfBzPyzRQ=; b=gYWWyUQUAfuYQ4rUAzmpMBxGh6PB72l45imqfd7k3jdC+Iv1i+SSNNj/lC0ZbV7gx9pgmqPyc1m+eILP6yy2vOrB+lVnD6CTymffx0M6AnfgJH+8Kvs1EI0uCnGiyUxydsDPIWnrQMMHPbJBvqrOLqfhCGrydbXtiAJzJywVCo4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by PH7PR12MB7259.namprd12.prod.outlook.com (2603:10b6:510:207::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.33; Tue, 4 Apr 2023 13:01:39 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%5]) with mapi id 15.20.6254.035; Tue, 4 Apr 2023 13:01:39 +0000 Message-ID: Date: Tue, 4 Apr 2023 14:00:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] devtools: suppress checkpatch warning on some kernel macro To: David Marchand , dev@dpdk.org Cc: Thomas Monjalon References: <20230404123647.404-1-david.marchand@redhat.com> Content-Language: en-US From: Ferruh Yigit In-Reply-To: <20230404123647.404-1-david.marchand@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0154.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c7::11) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH7PR12MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: 70725a4f-0aa7-4efc-c9ba-08db350cbac4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cay8bq4J2cpvF0DGtcpwzuMl0cjgfcLOgfM471stFzKZD1COFqa2RtZ98pkJ0TAKy+K5BxDMFLc6320Iy1nV3EwPm0bbZW8geBgCx7cenIy8D4HpPiOMMeAxQzRYnoJtifoLuzk7a6dgZh/p07ZaHt7m136m54EwRU4OZ9sb1dMlok2rMOw8Tzy1tOPU+JtI7ctVnCfKPZLv55qoA485LMyMwJ4AfAPuBp/q5ELu7drZ2GU+zu7Ha2AaQTboY4bDgB3Eu3SOpIr1izckK17XarPcOFf/6elZj6tR8RQ4BNS7gpvuHIozicOKuPbuzdU1U2T8SQTytXtIfYukgpscah0OcAmOnDS6EmiA5Z3bb5IN2EAYNPtox5D7GKUMtnq75abRn36+eSRuehGofBDiq7ow1jsc7HaB73tAR4DRSX0C3jnRodAVJOlFitpraH586R5g5zDguxiJ0Z6hQumJ3Rvwa/w/enytZ9UEu4yGJZnz5DlCHVeYMDN4WR9S0oq4zlTWtGQABlezAyxEUY/VBrgqUqXz5khA/+tEpnm1H95eAdocvNplRiVzBsekT0GrKAs2XWnPQzWZDgOlmNv283Br0hSICv91q88sEELXG1befx2SUqT2pV/r0bOe57z/h5kmG7tiIKbFHduUQSxklg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(376002)(39860400002)(136003)(366004)(396003)(451199021)(2906002)(31696002)(86362001)(36756003)(31686004)(6486002)(2616005)(186003)(6666004)(83380400001)(6512007)(53546011)(26005)(6506007)(66476007)(8676002)(66946007)(66556008)(41300700001)(5660300002)(38100700002)(44832011)(478600001)(316002)(8936002)(4326008)(4744005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L2pxUVJmU1JLT3lrWWdjQklManhOcVJuY2Zoa25DSTVua3RkOXJ6VzRST2pK?= =?utf-8?B?dzVQa2JiTUtXd2xvMFp3SThnOVluVnRoNzg2TktTa1dhdmRUMEkwaGxzaXBM?= =?utf-8?B?M1JFSjJZMUttUXJZSVhRMkdCVTZZa1dwekJyZGJjUU9JaUNSTUk4cXlMczNX?= =?utf-8?B?dndOcHJYdzYwbCsxYTZVdEpGSHJSRjE4Wkd0eXdWRGx3U2swNG1uc3pxN1Yy?= =?utf-8?B?Q3RnejI4TWluV0JnWWxRaWJtVDcxektML3FWWml4UGExaXdBc2xFbFU3MDM0?= =?utf-8?B?R2xJaEFRZnhvdExxV2dHS2E4Sm45aXdhaXlhMm1SQm9IWXliQzZTQmhUR1dw?= =?utf-8?B?NnVZTTFOSlRNdThaTm1xSzNJYndxNTY2Nm0zZERHM3NTa1p3T1RoaEduNlRQ?= =?utf-8?B?aEFXL0x3alMyTGpXZXJMaHpQemVxTFlzREI4ZzFJQ3cvQ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FaWU9sY3hmY2pSdDNIMFptSW5CY2picStL?= =?utf-8?B?TFFIV2QzM0l1aCt0bkxKSUJWMU1hNEFYQkttaHp5cXh4UmlIOWNJWHoxWVJY?= =?utf-8?B?Qm82dklWaEJtMVEva2tvTytudExhbk1UT1VXQVhvTjRpdlhmQWJGRjEvL09H?= =?utf-8?B?Y25nSjlPR3YwMUE0K0pwK2hpeEdOSDlDUmZ4UFBmOTJCcTJPM2ZPcnhtdVc0?= =?utf-8?B?dFpleHNnS05MaXRRWlJrbXpuS3BZK2JYOEIzT2JpbitLbGVUQWU4UVkxcFJP?= =?utf-8?B?b0RQVlJXT0YySjBWNndhS0FGcTJjSWp0VEhncFltLzJEdTROdlk1UHR3SWZi?= =?utf-8?B?M3ZxRy9rWFpFUGZZNHZSQ2VmUHkxMWN0ejYzMVhwaHpPN2duL003UkNSVUhY?= =?utf-8?B?WUlaT0xwaVJWU2lDeEVmRkdRQWtkQ0hWVmFYUmsvaVlodXZiMjV0ZkNtYUE4?= =?utf-8?B?V0N0bGd4N1IrcjJ1U1k2czR4QkFiNG9IOFZPNk5oL3ROWXNnR3ZINFk0Yzhi?= =?utf-8?B?aXh0b01vOUpBb3NUTk9kV01kZnpKQ09LT3B3cHNVcEZ3bmhnRTlhOFAySVBR?= =?utf-8?B?VTFneVVSWkVNWUkyRGtyRHhpY3hJZDc3KzZCYktRU1ErbVZIT24zSjhpMUtQ?= =?utf-8?B?b0NZQ09YWDdOT2hsbzV3MlZ4Z09tR1BjMzU4S2ZTVml1YTVKTDN6L0pyM1ZV?= =?utf-8?B?Q1Nzb0cxWDFjMTIwZkR3WGMybzVJK2l0ZldKcGw4ZkFIVml4RDZsSkt4UXRz?= =?utf-8?Q?kkNVdjtBqOqFmmew440cpNofm?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70725a4f-0aa7-4efc-c9ba-08db350cbac4 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2023 13:01:39.4885 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EW73wIRRVO5ERuUfeqNCmm9vIFXLn2E4KuK9UxIGuXKiFuJf8NVrpfQdwGagfBzF X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7259 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 On 4/4/2023 1:36 PM, David Marchand wrote: > Kernel checkpatch.pl is confused about RTE_BUILD_BUG_ON() and warns as if > our code was calling the kernel macro BUG_ON(). > > This does not make sense in the DPDK userspace code and the Linux kernel > module hosted in our repository (kernel/linux/kni) won't make it upstream. > > Disable this warning. > > Signed-off-by: David Marchand Sounds reasonable, Acked-by: Ferruh Yigit Is there any occurrence in the public CI, as reference?