mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
9c8f92aed1
commit
411c41eea5
5 changed files with 14 additions and 25 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue