[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<MN0PR18MB5847DF4315B6265D4056DC7ED3C2A@MN0PR18MB5847.namprd18.prod.outlook.com>
Date: Thu, 6 Nov 2025 04:36:13 +0000
From: Ratheesh Kannoth <rkannoth@...vell.com>
To: "joe@...ches.com" <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