diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-30 13:21:05 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-29 18:00:30 -0400 |
commit | 9be51c5d789a4864a820662460b8896b12a34c9d (patch) | |
tree | 211109650f43cac6c75191b6909bf251bc10033a /drivers/ieee1394/nodemgr.c | |
parent | 9324547235f63b7ebc905feb606291fce5d85ef5 (diff) |
ieee1394: nodemgr: unify some error messages
Shrinks object file size a little bit.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/nodemgr.c')
-rw-r--r-- | drivers/ieee1394/nodemgr.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index 9e2404505685..6a1a0572275e 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c | |||
@@ -581,7 +581,7 @@ static void nodemgr_create_drv_files(struct hpsb_protocol_driver *driver) | |||
581 | goto fail; | 581 | goto fail; |
582 | return; | 582 | return; |
583 | fail: | 583 | fail: |
584 | HPSB_ERR("Failed to add sysfs attribute for driver %s", driver->name); | 584 | HPSB_ERR("Failed to add sysfs attribute"); |
585 | } | 585 | } |
586 | 586 | ||
587 | 587 | ||
@@ -605,8 +605,7 @@ static void nodemgr_create_ne_dev_files(struct node_entry *ne) | |||
605 | goto fail; | 605 | goto fail; |
606 | return; | 606 | return; |
607 | fail: | 607 | fail: |
608 | HPSB_ERR("Failed to add sysfs attribute for node %016Lx", | 608 | HPSB_ERR("Failed to add sysfs attribute"); |
609 | (unsigned long long)ne->guid); | ||
610 | } | 609 | } |
611 | 610 | ||
612 | 611 | ||
@@ -620,7 +619,7 @@ static void nodemgr_create_host_dev_files(struct hpsb_host *host) | |||
620 | goto fail; | 619 | goto fail; |
621 | return; | 620 | return; |
622 | fail: | 621 | fail: |
623 | HPSB_ERR("Failed to add sysfs attribute for host %d", host->id); | 622 | HPSB_ERR("Failed to add sysfs attribute"); |
624 | } | 623 | } |
625 | 624 | ||
626 | 625 | ||
@@ -680,8 +679,7 @@ static void nodemgr_create_ud_dev_files(struct unit_directory *ud) | |||
680 | } | 679 | } |
681 | return; | 680 | return; |
682 | fail: | 681 | fail: |
683 | HPSB_ERR("Failed to add sysfs attributes for unit %s", | 682 | HPSB_ERR("Failed to add sysfs attribute"); |
684 | ud->device.bus_id); | ||
685 | } | 683 | } |
686 | 684 | ||
687 | 685 | ||
@@ -1150,8 +1148,7 @@ static void nodemgr_process_root_directory(struct host_info *hi, struct node_ent | |||
1150 | &dev_attr_ne_vendor_name_kv); | 1148 | &dev_attr_ne_vendor_name_kv); |
1151 | 1149 | ||
1152 | if (error && error != -EEXIST) | 1150 | if (error && error != -EEXIST) |
1153 | HPSB_ERR("Failed to add sysfs attribute for node " | 1151 | HPSB_ERR("Failed to add sysfs attribute"); |
1154 | "%016Lx", (unsigned long long)ne->guid); | ||
1155 | } | 1152 | } |
1156 | } | 1153 | } |
1157 | 1154 | ||