net: Fix double 0x prefix print in SKB dump
Subsystems (2)
PATCH 1/1 net: Fix double 0x prefix print in SKB dump
When printing netdev features %pNF already takes care of the 0x prefix, remove the explicit one.
Fixes 6413139dfc64 ("skbuff: increase verbosity when dumping skb data")
Signed-off-by Gal Pressman <[email protected]>
--- net/core/skbuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/skbuff.c +1 -1
@@ -832,7 +832,7 @@ void skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt) ntohs(skb->protocol), skb->pkt_type, skb->skb_iif);if (dev) -printk ("%sdev name=%s feat=0x%pNF\n" , +printk ("%sdev name=%s feat=%pNF\n" , level, dev->name, &dev->features);if (sk) printk("%ssk family=%hu type=%u proto=%u\n",
Signature · 1 line
2.25.1
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 8 lines · On Thu, 16 Dec 2021 11:28:25 +0200 you wrote:
When printing netdev features %pNF already takes care of the 0x prefix, remove the explicit one.
Fixes 6413139dfc64 ("skbuff: increase verbosity when dumping skb data")Signed-off-by Gal Pressman <[email protected]>--- net/core/skbuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net] net: Fix double 0x prefix print in SKB dump
https://git.kernel.org/netdev/net/c/8a03ef676ade
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html