Skip to contentSkip to conversation

drivers/tcic.c : remove the "&" of the second parameter

PATCH Applied lizhe 2 participants 2 messages Dec 21, 2022 – Sep 4, 2023 Pcmcia

lore
Share & tools
lore

lizhe

author
#0 lore raw

PATCH 1/1 drivers/tcic.c : remove the "&" of the second parameter

The second parameter is the entry address of the function, Not required&

---
 drivers/pcmcia/tcic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pcmcia/tcic.c +1 -1
index 1a0e3f098759..5ef888688e23 100644
@@ -435,7 +435,7 @@ static int __init init_tcic(void)
     }
     
     /* Set up polling */
-    timer_setup(&poll_timer, &tcic_timer, 0);
+    timer_setup(&poll_timer, tcic_timer, 0);
 
     /* Build interrupt mask */
     printk(KERN_CONT ", %d sockets\n", sockets);
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw

Am Tue, Dec 20, 2022 at 10:37:49PM -0800 schrieb lizhe:

Quoted 24 lines

The second parameter is the entry address of the function, Not required&

---
 drivers/pcmcia/tcic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pcmcia/tcic.c +1 -1
index 1a0e3f098759..5ef888688e23 100644
@@ -435,7 +435,7 @@ static int __init init_tcic(void)
     }
 
     /* Set up polling */
-    timer_setup(&poll_timer, &tcic_timer, 0);
+    timer_setup(&poll_timer, tcic_timer, 0);
 
     /* Build interrupt mask */
     printk(KERN_CONT ", %d sockets\n", sockets);
Signature · 1 line
2.17.1

Applied to pcmcia-next, thanks!

Dominik