From b7cffc57a777722941cfd904fcdbb47fc615b808 Mon Sep 17 00:00:00 2001 From: Stefan Richter Date: Sat, 21 Oct 2006 01:22:36 +0200 Subject: [PATCH] ieee1394: nodemgr: small fix after sysfs errors patch One hunk in "ieee1394: handle sysfs errors" was wrong. Signed-off-by: Stefan Richter --- drivers/ieee1394/nodemgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index e95fe400e04d..b79ff695ca3c 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c @@ -1233,7 +1233,7 @@ int hpsb_register_protocol(struct hpsb_protocol_driver *driver) if (!ret) nodemgr_create_drv_files(driver); - return 0; + return ret; } void hpsb_unregister_protocol(struct hpsb_protocol_driver *driver) -- 2.30.2