From: Corey Minyard Date: Mon, 29 Oct 2007 21:37:13 +0000 (-0700) Subject: IPMI: fix comparison in demangle_device_id X-Git-Tag: v2.6.24-rc2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64e862a579015d229b8e40b6bc4ac3612e9656e1;p=pandora-kernel.git 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 Cc: Adrian Bunk Cc: Stian Jordet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed