netdev.vger.kernel.org archive mirror
 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

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;
as well as URLs for NNTP newsgroup(s).