[PATCH] IPMI: fix occasional oops on module unload
authorCorey Minyard <minyard@acm.org>
Fri, 1 Sep 2006 04:27:45 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 1 Sep 2006 18:39:09 +0000 (11:39 -0700)
commita9eec55623f5aedfcef745d3a0e0f97f5d4f74be
tree11a147f9755ac50cb33c4065e406f987ce0be2c9
parent43a1dd502f40fdb644402f64cd06cf8016cd9780
[PATCH] IPMI: fix occasional oops on module unload

Olaf Kirch of SuSE tracked down a problem where module unloads of the IPMI
driver would occasionally result in Oopses.  He tracked that down to a
variable that wasn't always initialized properly in some situations.  This
patch initializes that variable.  Olaf sent a patch that kzalloc-ed the
data, but this structure is large enough that I would perfer to not do
that.  Thanks Olaf!

Signed-off-by: Corey Minyard <minyard@acm.org>
Cc: Olaf Kirch <okir@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_msghandler.c