From: Stefan Richter Date: Sun, 29 Oct 2006 22:09:11 +0000 (+0100) Subject: ieee1394: nodemgr: take it easy if bus_rescan_devices fails X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1f72cf5251a8f806a8930ae2cd152aa79fd0de83;p=linux-beck.git ieee1394: nodemgr: take it easy if bus_rescan_devices fails This happens. No need to log a BUG trace. Signed-off-by: Stefan Richter --- diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index 801f60619236..89a4bd4c842d 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c @@ -1600,9 +1600,8 @@ static void nodemgr_node_probe(struct host_info *hi, int generation) * just removed. */ if (generation == get_hpsb_generation(host)) - WARN_ON(bus_rescan_devices(&ieee1394_bus_type)); - - return; + if (bus_rescan_devices(&ieee1394_bus_type)) + HPSB_DEBUG("bus_rescan_devices had an error"); } static int nodemgr_send_resume_packet(struct hpsb_host *host)