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)
commitdc41c4a98a76640e7085815f937eadd1f336ba85
treeda308b386aedb4829050ba2bda1544078f906f6b
parente3f0cc1a945fcefec0c7c9d9dfd028a51daa1846
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