]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cfi: init wait queue in chip struct
authorSimon Vogl <simon.vogl@researchstudios.at>
Fri, 24 Feb 2006 21:04:09 +0000 (13:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Feb 2006 22:31:37 +0000 (14:31 -0800)
commit986db4c2fc196592c5e17ae28007f9a3916a6ad2
treeaf2b8f4ea1d4d04bf34deee23b70625104cb07ab
parent02ed39ad419b8c7a3ee2fed795f74bd86fbaa1dc
[PATCH] cfi: init wait queue in chip struct

Fix a kernel oops for Intel P30 flashes, where the wait queue head was not
initialized for the flchip struct, which in turn caused a crash at the
first read operation.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mtd/chips/cfi_cmdset_0001.c