mbox series

[net-next,0/2] Markup some printk like functions

Message ID 20201028003849.929490-1-andrew@lunn.ch (mailing list archive)
Headers show
Series Markup some printk like functions | expand

Message

Andrew Lunn Oct. 28, 2020, 12:38 a.m. UTC
W=1 warns of functions which look like printk but don't have
attributes so the compile can check that arguments matches the format
string.

Andrew Lunn (2):
  net: dccp: Add __printf() markup to fix -Wsuggest-attribute=format
  net: tipc: Add __printf() markup to fix -Wsuggest-attribute=format

 net/dccp/ccid.c           | 2 +-
 net/tipc/netlink_compat.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)