aoe: remove private mac address format function
Add %pm to omit the colons when printing a mac address. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9c8f92aed1
commit
411c41eea5
@@ -669,6 +669,9 @@ static char *pointer(const char *fmt, char *buf, char *end, void *ptr, int field
|
||||
return symbol_string(buf, end, ptr, field_width, precision, flags);
|
||||
case 'R':
|
||||
return resource_string(buf, end, ptr, field_width, precision, flags);
|
||||
case 'm':
|
||||
flags |= SPECIAL;
|
||||
/* Fallthrough */
|
||||
case 'M':
|
||||
return mac_address_string(buf, end, ptr, field_width, precision, flags);
|
||||
case 'i':
|
||||
|
Reference in New Issue
Block a user