]> git.baikalelectronics.ru Git - kernel.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)
commit42f0164aab96dbcbdf89c721d18069e3e0b778c4
tree01024599b8d4f37839dae0d18b8a2d2c71dadb2c
parent151cd9ee75d064bd7670d4e3251463494142054b
[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