Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] staging: vme_user: vme_irq_handler: name func ptr args
@ 2024-07-30  6:27 Agathe Porte
  0 siblings, 0 replies; only message in thread
From: Agathe Porte @ 2024-07-30  6:27 UTC (permalink / raw)
  To: Greg Kroah-Hartman, linux-kernel, linux-staging
  Cc: ~lkcamp/patches, helen.koike

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 *);

Signed-off-by: Agathe Porte <gagath@debian.org>

---

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(-)

diff --git a/drivers/staging/vme_user/vme.c b/drivers/staging/vme_user/vme.c
index 9a0914636..218b19db6 100644
--- a/drivers/staging/vme_user/vme.c
+++ b/drivers/staging/vme_user/vme.c
@@ -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;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-30  6:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30  6:27 [PATCH] staging: vme_user: vme_irq_handler: name func ptr args Agathe Porte

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