]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: debugfs: specify buffer size allocated by devm_kazlloc() for reading
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 22 Jan 2025 06:03:04 +0000 (14:03 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 3 Feb 2025 02:26:02 +0000 (10:26 +0800)
commit01fd45d9e102bd9bc9d234aa8f409fa8b94e3919
treee6a1c8a10ef129d55d763af9c24071e7f05ac7b3
parent831cceed3baf498984add821d288ced95a4ec4cf
wifi: rtw89: debugfs: specify buffer size allocated by devm_kazlloc() for reading

Some debufs entries need output buffer over default size 4K. Since reading
of many debugfs entries is to access IO, it costs time to dynamically
re-allocate larger buffer and access IO again and again. Add an option to
specify the size it needs.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250122060310.31976-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/debug.c