* Re: [KJ] [PATCH 3/3] unified spinlock initialization
@ 2005-03-11 14:30 Tobias Klauser
2005-03-11 14:34 ` Amit Gud
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2005-03-11 14:30 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
On Fri, Mar 11, 2005 at 07:52:54PM +0530, Amit Gud wrote:
> Unify the spinlock initialization as far as possible.
>
> Do consider applying.
>
> Signed-off-by: Amit Gud <gud@eth.net>
>
> --- ../kernels/linux-2.6.11/drivers/media/dvb/dibusb/dvb-dibusb-pid.c 2005-03-10 12:03:49.000000000 +0530
> +++ kj-2.6.11/drivers/media/dvb/dibusb/dvb-dibusb-pid.c 2005-03-11 19:25:41.942775232 +0530
This patch cannot be applied with -p1
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* [KJ] [PATCH 3/3] unified spinlock initialization
2005-03-11 14:30 [KJ] [PATCH 3/3] unified spinlock initialization Tobias Klauser
@ 2005-03-11 14:34 ` Amit Gud
0 siblings, 0 replies; 2+ messages in thread
From: Amit Gud @ 2005-03-11 14:34 UTC (permalink / raw)
To: kernel-janitors
Hi,
Unify the spinlock initialization as far as possible.
Do consider applying.
Signed-off-by: Amit Gud <gud@eth.net>
--- ../kernels/linux-2.6.11/drivers/media/dvb/dibusb/dvb-dibusb-pid.c
2005-03-10 12:03:49.000000000 +0530
+++ kj-2.6.11/drivers/media/dvb/dibusb/dvb-dibusb-pid.c 2005-03-11
19:25:41.942775232 +0530
@@ -21,7 +21,7 @@ int dibusb_pid_list_init(struct usb_dibu
deb_xfer("initializing %d pids for the
pid_list.\n",dib->dibdev->dev_cl->demod->pid_filter_count);
- dib->pid_list_lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&dib->pid_list_lock);
memset(dib->pid_list,0,dib->dibdev->dev_cl->demod->pid_filter_count*(sizeof(struct
dibusb_pid)));
for (i=0; i < dib->dibdev->dev_cl->demod->pid_filter_count; i++) {
dib->pid_list[i].index = i;
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-11 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-11 14:30 [KJ] [PATCH 3/3] unified spinlock initialization Tobias Klauser
2005-03-11 14:34 ` Amit Gud
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.