Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wifi: iwlegacy: Fixup allocation failure log

Fix 2 issues spotted by AI[0]:

1. Missing space after the full stop.

2. Wrong GFP flags are printed.

And also switch to %pGg for the GFP flags. This produces nice readable
output and decouples the format string from the size of gfp_t.

[0] https://sashiko.dev/#/patchset/20260319-gfp64-v1-0-2c73b8d42b7f%40google.com

Signed-off-by: Brendan Jackman <jackmanb@google.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20260326-gfp64-v2-2-d916021cecdf@google.com
[add missing wifi: prefix]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Brendan Jackman and committed by
Johannes Berg
49152949 08486359

+2 -2
+2 -2
drivers/net/wireless/intel/iwlegacy/3945-mac.c
··· 1002 1002 D_INFO("Failed to allocate SKB buffer.\n"); 1003 1003 if (rxq->free_count <= RX_LOW_WATERMARK && 1004 1004 net_ratelimit()) 1005 - IL_ERR("Failed to allocate SKB buffer with %0x." 1005 + IL_ERR("Failed to allocate SKB buffer with %pGg. " 1006 1006 "Only %u free buffers remaining.\n", 1007 - priority, rxq->free_count); 1007 + &gfp_mask, rxq->free_count); 1008 1008 /* We don't reschedule replenish work here -- we will 1009 1009 * call the restock method and if it still needs 1010 1010 * more buffers it will schedule replenish */