* [PATCH] drivers/tcic.c : remove the "&" of the second parameter
@ 2022-12-21 6:37 lizhe
2023-09-04 19:59 ` Dominik Brodowski
0 siblings, 1 reply; 2+ messages in thread
From: lizhe @ 2022-12-21 6:37 UTC (permalink / raw)
To: linux; +Cc: linux-kernel, lizhe
The second parameter is the entry address of the function,
Not required&
Signed-off-by: lizhe <sensor1010@163.com>
---
drivers/pcmcia/tcic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c
index 1a0e3f098759..5ef888688e23 100644
--- a/drivers/pcmcia/tcic.c
+++ b/drivers/pcmcia/tcic.c
@@ -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);
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers/tcic.c : remove the "&" of the second parameter
2022-12-21 6:37 [PATCH] drivers/tcic.c : remove the "&" of the second parameter lizhe
@ 2023-09-04 19:59 ` Dominik Brodowski
0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2023-09-04 19:59 UTC (permalink / raw)
To: lizhe; +Cc: linux-kernel
Am Tue, Dec 20, 2022 at 10:37:49PM -0800 schrieb lizhe:
> The second parameter is the entry address of the function,
> Not required&
>
> Signed-off-by: lizhe <sensor1010@163.com>
> ---
> drivers/pcmcia/tcic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c
> index 1a0e3f098759..5ef888688e23 100644
> --- a/drivers/pcmcia/tcic.c
> +++ b/drivers/pcmcia/tcic.c
> @@ -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);
> --
> 2.17.1
>
Applied to pcmcia-next, thanks!
Dominik
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-04 20:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21 6:37 [PATCH] drivers/tcic.c : remove the "&" of the second parameter lizhe
2023-09-04 19:59 ` Dominik Brodowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®