]> git.baikalelectronics.ru Git - kernel.git/commit
net/packet: clarify source of pr_*() messages
authorBaruch Siach <baruch@tkos.co.il>
Thu, 9 Sep 2021 17:49:47 +0000 (20:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2021 09:00:59 +0000 (10:00 +0100)
commitacee63813d1ffdd5c47a6df331952823105351e9
treeda308b386aedb4829050ba2bda1544078f906f6b
parentc3c953de084de1b65b7cfc8fa1be5b426ce2c8e3
net/packet: clarify source of pr_*() messages

Add pr_fmt macro to spell out the source of messages in prefix.

Before this patch:

  packet size is too long (1543 > 1518)

With this patch:

  af_packet: packet size is too long (1543 > 1518)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c