]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PA-RISC] Fix must_check warnings in drivers.c
authorMatthew Wilcox <matthew@wil.cx>
Wed, 4 Oct 2006 19:37:41 +0000 (13:37 -0600)
committerMatthew Wilcox <willy@hera.kernel.org>
Thu, 5 Oct 2006 01:48:18 +0000 (01:48 +0000)
commit1070c9655b90016ec4c9b59c402292e57ee15885
tree01024599b8d4f37839dae0d18b8a2d2c71dadb2c
parentf64ef295032d07345ca26bf4876a1577c4dccb37
[PA-RISC] Fix must_check warnings in drivers.c

Panic if we can't register the parisc bus or the root parisc device.
There's no way we can boot without them, so let the user know ASAP.

If we can't register a parisc device, handle the failure gracefully.

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
arch/parisc/kernel/drivers.c