[PARISC] Return PDC_OK when alloc_pa_dev fails to enumerate all devices
authorMatthew Wilcox <willy@parisc-linux.org>
Thu, 17 Nov 2005 21:33:29 +0000 (16:33 -0500)
committerKyle McMartin <kyle@parisc-linux.org>
Thu, 17 Nov 2005 21:33:29 +0000 (16:33 -0500)
commitba5c4f1bae89eba7b03e58a5448e8b28a006d4df
tree677d29940c35138c178ac311eb0f8d63a2cb7937
parentaa0eecb07f27bea25a7cbe4150822be72493e574
[PARISC] Return PDC_OK when alloc_pa_dev fails to enumerate all devices

Return PDC_OK when device registration fails so that we enumerate all
subsequent devices, even when we get two devices with the same hardware
path (which should never happen, but does with at least one revision of
rp8400 firmware).

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/inventory.c