Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9be51c5d789a4864a820662460b8896b12a34c9d
Commit:     9be51c5d789a4864a820662460b8896b12a34c9d
Parent:     9324547235f63b7ebc905feb606291fce5d85ef5
Author:     Stefan Richter <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 30 19:21:05 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Mon Apr 30 00:00:30 2007 +0200

    ieee1394: nodemgr: unify some error messages
    
    Shrinks object file size a little bit.
    
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 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 9e24045..6a1a057 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)
                        goto fail;
        return;
 fail:
-       HPSB_ERR("Failed to add sysfs attribute for driver %s", driver->name);
+       HPSB_ERR("Failed to add sysfs attribute");
 }
 
 
@@ -605,8 +605,7 @@ static void nodemgr_create_ne_dev_files(struct node_entry 
*ne)
                        goto fail;
        return;
 fail:
-       HPSB_ERR("Failed to add sysfs attribute for node %016Lx",
-                (unsigned long long)ne->guid);
+       HPSB_ERR("Failed to add sysfs attribute");
 }
 
 
@@ -620,7 +619,7 @@ static void nodemgr_create_host_dev_files(struct hpsb_host 
*host)
                        goto fail;
        return;
 fail:
-       HPSB_ERR("Failed to add sysfs attribute for host %d", host->id);
+       HPSB_ERR("Failed to add sysfs attribute");
 }
 
 
@@ -680,8 +679,7 @@ static void nodemgr_create_ud_dev_files(struct 
unit_directory *ud)
        }
        return;
 fail:
-       HPSB_ERR("Failed to add sysfs attributes for unit %s",
-                ud->device.bus_id);
+       HPSB_ERR("Failed to add sysfs attribute");
 }
 
 
@@ -1150,8 +1148,7 @@ static void nodemgr_process_root_directory(struct 
host_info *hi, struct node_ent
                                               &dev_attr_ne_vendor_name_kv);
 
                if (error && error != -EEXIST)
-                       HPSB_ERR("Failed to add sysfs attribute for node "
-                                "%016Lx", (unsigned long long)ne->guid);
+                       HPSB_ERR("Failed to add sysfs attribute");
        }
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to