Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18287
b: refs/heads/master
c: d0a14a9
h: refs/heads/master
i:
  18285: b513958
  18283: 3695890
  18279: 3946728
  18271: 08b2406
v: v3
  • Loading branch information
Per Liden authored and David S. Miller committed Jan 12, 2006
1 parent 03a5ddf commit d463094
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ea1fd3c1a15c620d1e3d0aa269d34b705477003
refs/heads/master: d0a14a9dbdf613d9307c4b748b03a11678fe8d16
6 changes: 3 additions & 3 deletions trunk/net/tipc/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ void tipc_dump(struct print_buf*,const char *fmt, ...);
* - debug messages are not printed
*/

#define err(fmt, arg...) printk(KERN_ERR "%s: " fmt "\n" , __FILE__ , ## arg)
#define info(fmt, arg...) printk(KERN_INFO "%s: " fmt "\n" , __FILE__ , ## arg)
#define warn(fmt, arg...) printk(KERN_WARNING "%s: " fmt "\n" , __FILE__ , ## arg)
#define err(fmt, arg...) printk(KERN_ERR "TIPC: " fmt , ## arg)
#define info(fmt, arg...) printk(KERN_INFO "TIPC: " fmt , ## arg)
#define warn(fmt, arg...) printk(KERN_WARNING "TIPC: " fmt , ## arg)

#define dbg(fmt, arg...) do {} while (0)
#define msg_dbg(msg,txt) do {} while (0)
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/tipc/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int netlink_start(void)
genl_unregister_family(&family);
family_registered = 0;
err:
err("Failed to register netlink interface");
err("Failed to register netlink interface\n");
return -EFAULT;
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1696,13 +1696,13 @@ int socket_init(void)

res = proto_register(&tipc_proto, 1);
if (res) {
err("Unable to register TIPC protocol type\n");
err("Failed to register TIPC protocol type\n");
goto out;
}

res = sock_register(&tipc_family_ops);
if (res) {
err("Unable to register TIPC socket type\n");
err("Failed to register TIPC socket type\n");
proto_unregister(&tipc_proto);
goto out;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/tipc/subscr.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ int subscr_start(void)
return 0;

failed:
err("Unable to create subscription service\n");
err("Failed to create subscription service\n");
tipc_detach(topsrv.user_ref);
topsrv.user_ref = 0;
spin_unlock_bh(&topsrv.lock);
Expand Down

0 comments on commit d463094

Please sign in to comment.