Skip to content

Commit aeda924

Browse files
alex3dKalle Valo
authored andcommitted
wifi: brcmfmac: clarify unmodifiable headroom log message
Replace misleading log "insufficient headroom (0)" with more clear "unmodifiable headroom". Signed-off-by: Alex Shumsky <[email protected]> Acked-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 104372f commit aeda924

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/wireless/broadcom/brcm80211/brcmfmac

1 file changed

+2
-2
lines changed

drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ static netdev_tx_t brcmf_netdev_start_xmit(struct sk_buff *skb,
327327
if (skb_headroom(skb) < drvr->hdrlen || skb_header_cloned(skb)) {
328328
head_delta = max_t(int, drvr->hdrlen - skb_headroom(skb), 0);
329329

330-
brcmf_dbg(INFO, "%s: insufficient headroom (%d)\n",
331-
brcmf_ifname(ifp), head_delta);
330+
brcmf_dbg(INFO, "%s: %s headroom\n", brcmf_ifname(ifp),
331+
head_delta ? "insufficient" : "unmodifiable");
332332
atomic_inc(&drvr->bus_if->stats.pktcowed);
333333
ret = pskb_expand_head(skb, ALIGN(head_delta, NET_SKB_PAD), 0,
334334
GFP_ATOMIC);

0 commit comments

Comments
 (0)