linux/drivers/net/wireless/broadcom/b43
Mike Rapoport (Microsoft) 1cb971bb97 wifi: b43, b43legacy: debugfs: use kzalloc() to allocate formatting buffers
b43* debugfs functions allocate 16 KiB buffers for formatting debug output
text using __get_free_pages().

kzalloc() provides a better API that does not require ugly casts and
kfree() does not need to know the size of the freed object and for 16 Kib
allocation kzalloc() will anyway delegate it to buddy.

Replace use of __get_free_pages() with kzalloc().

Link: https://lore.kernel.org/all/635405e4-9423-4a25-a6e7-e03c8ea0bcbe@redhat.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Link: https://patch.msgid.link/20260701-b4-drivers-wireless-v1-1-60264cdf2efe@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-07-06 12:58:07 +02:00
..
b43.h wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled 2024-01-10 16:56:17 +02:00
bus.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
bus.h
debugfs.c wifi: b43, b43legacy: debugfs: use kzalloc() to allocate formatting buffers 2026-07-06 12:58:07 +02:00
debugfs.h
dma.c wifi: b43: kzalloc + kcalloc to kzalloc_flex 2026-03-24 16:32:45 +01:00
dma.h wifi: b43: kzalloc + kcalloc to kzalloc_flex 2026-03-24 16:32:45 +01:00
Kconfig
leds.c
leds.h
lo.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lo.h
main.c b43: support radio 2057 rev 8 2026-06-10 10:27:53 +02:00
main.h
Makefile
phy_a.h
phy_ac.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
phy_ac.h
phy_common.c
phy_common.h
phy_g.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
phy_g.h
phy_ht.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
phy_ht.h
phy_lcn.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
phy_lcn.h
phy_lp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
phy_lp.h
phy_n.c wifi: b43: use register definitions in nphy_op_software_rfkill 2026-03-13 07:11:32 +01:00
phy_n.h
pio.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pio.h
ppr.c
ppr.h
radio_2055.c
radio_2055.h
radio_2056.c
radio_2056.h
radio_2057.c b43: add channel info table for N-PHY r8 + radio 2057 r8 2026-06-10 10:27:55 +02:00
radio_2057.h
radio_2059.c
radio_2059.h
rfkill.c
rfkill.h
sdio.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sdio.h
sysfs.c wifi: b43: Convert sprintf/snprintf to sysfs_emit 2024-03-21 17:07:53 +02:00
sysfs.h
tables_lpphy.c wifi: b43: Constify struct lpphy_tx_gain_table_entry 2024-08-07 20:15:56 +03:00
tables_lpphy.h wifi: b43: Constify struct lpphy_tx_gain_table_entry 2024-08-07 20:15:56 +03:00
tables_nphy.c b43: add RF power offset for N-PHY r8 + radio 2057 r8 2026-06-10 10:27:56 +02:00
tables_nphy.h
tables_phy_ht.c
tables_phy_ht.h
tables_phy_lcn.c
tables_phy_lcn.h
tables.c
tables.h
wa.c
wa.h
xmit.c wifi: b43: enforce bounds check on firmware key index in b43_rx() 2026-04-27 12:39:57 +02:00
xmit.h