]> err.no Git - linux-2.6/commit
[PATCH] drivers/char/esp.c spinlock fix
authorIngo Molnar <mingo@elte.hu>
Tue, 17 Jan 2006 06:14:00 +0000 (22:14 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:15:26 +0000 (23:15 -0800)
commit8f56a31ad616b13414cf764f620f75f45dac26e6
tree4e53d466c7ef81140ad4f92c78ae7e07f8ceaa87
parentfd279197b1df6b46076991ca0e1f7faa8f3d8028
[PATCH] drivers/char/esp.c spinlock fix

There's incorrect spinlock usage in espserial_init(): autoconfig() uses
info->lock before it's initialized.  The fix is to initialize the spinlock
earlier.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/esp.c