]> err.no Git - linux-2.6/commit
drivers/edac: fix ignored return i82875p
authorDouglas Thompson <dougthompson@xmission.com>
Thu, 19 Jul 2007 08:50:17 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:55 +0000 (10:04 -0700)
commit1c52152b3008b7bdcc3b94d0be4d0b814dce1530
tree652d286f00ac3101dff0f129ad399a1204a38588
parent654ede200fe028373852bbca387ab4834ddb7228
drivers/edac: fix ignored return i82875p

Compiling this module gave a warning that the return value of
'pci_bus_add_device()' was not checked.

This patch adds that check and an output message

Signed-off-by: Douglas Thompson <dougthompson@xmission.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/i82875p_edac.c