]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ieee1394: nodemgr: take it easy if bus_rescan_devices fails
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 29 Oct 2006 22:09:11 +0000 (23:09 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 20:44:15 +0000 (21:44 +0100)
This happens.  No need to log a BUG trace.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/nodemgr.c

index 801f606192361ea3deb56fa9b92c74d5d783f583..89a4bd4c842dd545c55a1f02c4b437816bac86bc 100644 (file)
@@ -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)