Skip to contentSkip to conversation

staging: vme_user: vme_irq_handler: name func ptr args

PATCH New Agathe Porte 1 participant 1 message Jul 30, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vme_user: vme_irq_handler: name func ptr args

This commit fixes the following checkpatch.pl warnings:

WARNING: function definition argument 'int' should also have an identifier name
+ void (*call)(int, int, void *);

WARNING: function definition argument 'int' should also have an identifier name
+ void (*call)(int, int, void *);

WARNING: function definition argument 'void *' should also have an identifier name
+ void (*call)(int, int, void *);

---

This is my first contribution to staging to test if my setup works well and helping improve a staging driver while at it.

 drivers/staging/vme_user/vme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vme_user/vme.c +1 -1
index 9a0914636..218b19db6 100644
@@ -1265,7 +1265,7 @@ EXPORT_SYMBOL(vme_unregister_error_handler);
 
 void vme_irq_handler(struct vme_bridge *bridge, int level, int statid)
 {
-	void (*call)(int, int, void *);
+	void (*call)(int level, int statid, void *priv_data);
 	void *priv_data;
 
 	call = bridge->irq[level - 1].callback[statid].func;
Signature · 1 line
2.43.0