]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: test for event buffer before using
authorCorey Minyard <minyard@acm.org>
Tue, 21 Apr 2009 19:24:03 +0000 (12:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Apr 2009 20:41:48 +0000 (13:41 -0700)
commit1d98dc25168fa6e4fac925db4981c3cc60e37bde
treef40db99519d3567e74fa699ff78a3e637df3dc2c
parente792ada77cf39cc71f11748093a25fdfea5c80c9
ipmi: test for event buffer before using

The IPMI driver would attempt to use the event buffer even if that
didn't exist on the BMC.  This patch modified the IPMI driver to check
for the event buffer's existence before trying to use it.

Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_si_intf.c
include/linux/ipmi_msgdefs.h