Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] ipmi: fix uninitialized data bug
gcc issues the following warning: drivers/char/ipmi/ipmi_si_intf.c: In function �init_ipmi_si�: drivers/char/ipmi/ipmi_si_intf.c:1729: warning: �data.irq� may be used uninitialized in this function This is indeed a bug. data.irq is completely uninitialized in some code paths. Worse than that, data from a previous decode_dmi() run can easily leak through successive calls. Signed-off-by: Jeff Garzik <jeff@garzik.org> Acked-by: Corey Minyard <minyard@acm.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
- Loading branch information