[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<MN0PR18MB58476F66445B5736B213E9CBD3C3A@MN0PR18MB5847.namprd18.prod.outlook.com>
Date: Fri, 7 Nov 2025 02:34:49 +0000
From: Ratheesh Kannoth <rkannoth@...vell.com>
To: "joe@...ches.com" <joe@...ches.com>
CC: Netdev <netdev@...r.kernel.org>
Subject: RE: check patch error.
I think, this is false positive. Could you comment ?
-Ratheesh
> -----Original Message-----
> From: Ratheesh Kannoth
> Sent: Thursday, November 6, 2025 10:06 AM
> To: joe@...ches.com
> Cc: Netdev <netdev@...r.kernel.org>
> Subject: check patch error.
>
> Hi List,
>
> Check patch is throwing below error. Could you help ?
>
> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu.h
> b/drivers/net/ethernet/marvell/octeontx2/af/rvu.h
> index 1692033b46b0..2345eb3474a3 100644
> --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu.h
> +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu.h
> +
> +int func(int (*arr)[2]);
> +
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> #$ ./scripts/checkpatch.pl --strict ./0001-octeontx-af-Test-checkpatch.patch
> WARNING: function definition argument 'int' should also have an identifier
> name
> #22: FILE: drivers/net/ethernet/marvell/octeontx2/af/rvu.h:1161:
> +int func(int (*arr)[2]);
>
> total: 0 errors, 1 warnings, 0 checks, 7 lines checked
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Powered by blists - more mailing lists