]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit40112ae7504745799e75ef418057f0d2cb745050
treef40db99519d3567e74fa699ff78a3e637df3dc2c
parent8b32b5d0dca2f5ab632e8bedcd57fe4c109c13fe
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