diff options
author | Corey Minyard <cminyard@mvista.com> | 2007-10-29 14:37:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-30 08:06:55 -0700 |
commit | 64e862a579015d229b8e40b6bc4ac3612e9656e1 (patch) | |
tree | 3e3033c61b438f8a1451d36a930b8657a23cadad /include/asm-sparc/openprom.h | |
parent | cc5f916e90a811dd8f809b4d17409f98e74b237c (diff) |
IPMI: fix comparison in demangle_device_id
Coverity spotted some incorrect code in a recent change to the IPMI driver;
this patch make sure the data is really long enough to pull the
manufacturer id and product id out of a get device id message.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Adrian Bunk <bunk@kernel.org>
Cc: Stian Jordet <liste@jordet.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-sparc/openprom.h')
0 files changed, 0 insertions, 0 deletions