diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 12:31:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 12:31:48 -0500 |
commit | 3d1f337b3e7378923c89f37afb573a918ef40be5 (patch) | |
tree | 386798378567a10d1c7b24f599cb50f70298694c /net/tipc/dbg.c | |
parent | 2bf2154c6bb5599e3ec3f73c34861a0b12aa839e (diff) | |
parent | 5e35941d990123f155b02d5663e51a24f816b6f3 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (235 commits)
[NETFILTER]: Add H.323 conntrack/NAT helper
[TG3]: Don't mark tg3_test_registers() as returning const.
[IPV6]: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2
[IPV6]: Nearly complete kzalloc cleanup for net/ipv6
[IPV6]: Cleanup of net/ipv6/reassambly.c
[BRIDGE]: Remove duplicate const from is_link_local() argument type.
[DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking
[TG3]: make drivers/net/tg3.c:tg3_request_irq() static
[BRIDGE]: use LLC to send STP
[LLC]: llc_mac_hdr_init const arguments
[BRIDGE]: allow show/store of group multicast address
[BRIDGE]: use llc for receiving STP packets
[BRIDGE]: stp timer to jiffies cleanup
[BRIDGE]: forwarding remove unneeded preempt and bh diasables
[BRIDGE]: netfilter inline cleanup
[BRIDGE]: netfilter VLAN macro cleanup
[BRIDGE]: netfilter dont use __constant_htons
[BRIDGE]: netfilter whitespace
[BRIDGE]: optimize frame pass up
[BRIDGE]: use kzalloc
...
Diffstat (limited to 'net/tipc/dbg.c')
-rw-r--r-- | net/tipc/dbg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/dbg.c b/net/tipc/dbg.c index 4f4beefa7830..26ef95d5fe38 100644 --- a/net/tipc/dbg.c +++ b/net/tipc/dbg.c | |||
@@ -81,7 +81,7 @@ void tipc_printbuf_init(struct print_buf *pb, char *raw, u32 sz) | |||
81 | 81 | ||
82 | pb->crs = pb->buf = raw; | 82 | pb->crs = pb->buf = raw; |
83 | pb->size = sz; | 83 | pb->size = sz; |
84 | pb->next = 0; | 84 | pb->next = NULL; |
85 | pb->buf[0] = 0; | 85 | pb->buf[0] = 0; |
86 | pb->buf[sz-1] = ~0; | 86 | pb->buf[sz-1] = ~0; |
87 | } | 87 | } |
@@ -216,7 +216,7 @@ void tipc_printf(struct print_buf *pb, const char *fmt, ...) | |||
216 | } | 216 | } |
217 | } | 217 | } |
218 | pb_next = pb->next; | 218 | pb_next = pb->next; |
219 | pb->next = 0; | 219 | pb->next = NULL; |
220 | pb = pb_next; | 220 | pb = pb_next; |
221 | } | 221 | } |
222 | spin_unlock_bh(&print_lock); | 222 | spin_unlock_bh(&print_lock); |