aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgathe Porte <[email protected]>2024-07-30 15:27:54 +0900
committerGreg Kroah-Hartman <[email protected]>2024-07-30 09:21:44 +0200
commitbbb12311f507f123ea86f44aea70c934aef819b5 (patch)
treed9b72577e471b8e55aad159d15c12b5916cf0953
parentaf1cdd74c49774c8e7061fd362d4a9d9b7822e29 (diff)
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 *); Signed-off-by: Agathe Porte <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/vme_user/vme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme_user/vme.c b/drivers/staging/vme_user/vme.c
index 9a091463656d..218b19db6dac 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;