Skip to contentSkip to conversation

staging: fsl-mc/dpio: Add missing argument identifier

PATCH New Roy Pledge 1 participant 1 message Mar 7, 2018 Staging

lore
Share & tools
lore

Roy Pledge

author
#0 lore raw

PATCH 1/1 staging: fsl-mc/dpio: Add missing argument identifier

When running checkpatch over the DPIO code the following warning is reported:

WARNING: function definition argument 'struct dpaa2_io_notification_ctx *' should also have an identifier name

Add the missing identifier.

---
 drivers/staging/fsl-mc/include/dpaa2-io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/fsl-mc/include/dpaa2-io.h +1 -1
index 9cb1eec..f71227d 100644
@@ -80,7 +80,7 @@ struct dpaa2_io *dpaa2_io_service_select(int cpu);
  * Used when a FQDAN/CDAN registration is made by drivers.
  */
 struct dpaa2_io_notification_ctx {
-	void (*cb)(struct dpaa2_io_notification_ctx *);
+	void (*cb)(struct dpaa2_io_notification_ctx *ctx);
 	int is_cdan;
 	u32 id;
 	int desired_cpu;
Signature · 1 line
2.7.4