tipc: Improve handling of media address printing errors
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 7 Oct 2011 15:31:49 +0000 (11:31 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:13:06 +0000 (11:13 -0500)
commitc61b666e260d5cc2e0203b21c689321e6ab0d676
tree3099d9f46c035b36c7555e75221df44f79f477a3
parent6c349210101352103d9055636845155bc801ae9b
tipc: Improve handling of media address printing errors

Enhances conversion of a media address to printable form so that an
unconvertable address will be displayed as a string of hex digits,
rather than not being displayed at all. (Also removes a pointless check
for the existence of the media-specific address conversion routine,
since the routine is not optional.)

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/eth_media.c