net: add include/net/net_debug.h
authorEric Dumazet <edumazet@google.com>
Tue, 10 May 2022 03:57:37 +0000 (20:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2022 11:43:10 +0000 (12:43 +0100)
commit5b87be9e4978fe507c7e14c0bdff147d10d39aec
treef6bf1f7f7d14eb678123c4c8b8df7ac16759e9d6
parentdc3a2001f61611347c057fea422c382b9ce3cfcb
net: add include/net/net_debug.h

Remove from include/linux/netdevice.h helpers
that send debug/info/warnings to syslog.

We plan adding more helpers in following patches.

v2: added two includes, and 'struct net_device' forward declaration
    to avoid compile errors (kernel bots)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/net_debug.h [new file with mode: 0644]