* [PATCH] msp3400: check ->kthread correctly
@ 2005-10-06 21:46 Alexey Dobriyan
2005-10-06 23:51 ` Michael Krufky
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2005-10-06 21:46 UTC (permalink / raw)
To: linux-kernel; +Cc: Mauro Carvalho Chehab, video4linux-list
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
drivers/media/video/msp3400.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- ./drivers/media/video/msp3400.c
+++ ./drivers/media/video/msp3400.c
@@ -1558,7 +1558,7 @@ static int msp_detach(struct i2c_client
struct msp3400c *msp = i2c_get_clientdata(client);
/* shutdown control thread */
- if (msp->kthread >= 0) {
+ if (msp->kthread) {
msp->restart = 1;
kthread_stop(msp->kthread);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] msp3400: check ->kthread correctly
2005-10-06 21:46 [PATCH] msp3400: check ->kthread correctly Alexey Dobriyan
@ 2005-10-06 23:51 ` Michael Krufky
0 siblings, 0 replies; 2+ messages in thread
From: Michael Krufky @ 2005-10-06 23:51 UTC (permalink / raw)
To: Linux and Kernel Video
Cc: linux-kernel, Mauro Carvalho Chehab, Alexey Dobriyan
Alexey Dobriyan wrote:
>Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
>---
>
> drivers/media/video/msp3400.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>--- ./drivers/media/video/msp3400.c
>+++ ./drivers/media/video/msp3400.c
>@@ -1558,7 +1558,7 @@ static int msp_detach(struct i2c_client
> struct msp3400c *msp = i2c_get_clientdata(client);
>
> /* shutdown control thread */
>- if (msp->kthread >= 0) {
>+ if (msp->kthread) {
> msp->restart = 1;
> kthread_stop(msp->kthread);
> }
>
>--
>video4linux-list mailing list
>Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/video4linux-list
>
>
Applied to video4linux cvs. Thank you!
CVSROOT: /cvs/video4linux
Module name: video4linux
Changes by: mkrufky 20051007 01:48:36
Modified files:
. : ChangeLog msp3400.c
Log message:
* msp3400.c: (msp_detach):
- check ->kthread correctly
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Ack'd by: Michael Krufky <mkrufky@m1k.net>
--
Michael Krufky
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-06 23:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-06 21:46 [PATCH] msp3400: check ->kthread correctly Alexey Dobriyan
2005-10-06 23:51 ` Michael Krufky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.