public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* check patch error.
@ 2025-11-06  4:36 Ratheesh Kannoth
  2025-11-07  2:34 ` Ratheesh Kannoth
  0 siblings, 1 reply; 3+ messages in thread
From: Ratheesh Kannoth @ 2025-11-06  4:36 UTC (permalink / raw)
  To: joe@perches•com; +Cc: Netdev

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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: check patch error.
  2025-11-06  4:36 check patch error Ratheesh Kannoth
@ 2025-11-07  2:34 ` Ratheesh Kannoth
  2025-11-07 11:07   ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Ratheesh Kannoth @ 2025-11-07  2:34 UTC (permalink / raw)
  To: joe@perches•com; +Cc: Netdev

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@perches•com
> Cc: Netdev <netdev@vger•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
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: check patch error.
  2025-11-07  2:34 ` Ratheesh Kannoth
@ 2025-11-07 11:07   ` Simon Horman
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-11-07 11:07 UTC (permalink / raw)
  To: Ratheesh Kannoth; +Cc: joe@perches•com, Netdev

On Fri, Nov 07, 2025 at 02:34:49AM +0000, Ratheesh Kannoth wrote:
> I think, this is false positive.  Could you comment ?

I was not able to reproduce this.
But, FWIIW, it does look like a false positive to me.

Also, please don't top-post on Kernel mailing lists.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-07 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06  4:36 check patch error Ratheesh Kannoth
2025-11-07  2:34 ` Ratheesh Kannoth
2025-11-07 11:07   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox