]> err.no Git - linux-2.6/commit
[TIPC]: Debug print buffer enhancements and fixes
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Oct 2006 04:42:04 +0000 (21:42 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 19 Oct 2006 02:55:14 +0000 (19:55 -0700)
commit29ede244cc4cfb11432a0bffd158ba09e7b2c167
treeacb07b6ffa1561bcd297a50458ed7aa7e8278e14
parent065fd1772af2032bebdce006071df007c039734d
[TIPC]: Debug print buffer enhancements and fixes

This change modifies TIPC's print buffer code as follows:
1) Now supports small print buffers (min. size reduced from 512 bytes to 64)
2) Now uses TIPC_NULL print buffer structure to indicate null device
   instead of NULL pointer (this simplified error handling)
3) Fixed misuse of console buffer structure by tipc_dump()
4) Added and corrected comments in various places

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/core.h
net/tipc/dbg.c
net/tipc/dbg.h