]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeontx2-af: simplify rvu_debugfs
authorYury Norov <ynorov@nvidia.com>
Thu, 19 Mar 2026 20:17:10 +0000 (16:17 -0400)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Mar 2026 10:08:17 +0000 (11:08 +0100)
commit6e4235adfa8814afc361d26cd630b9af8c4f01a8
tree5383366d686985208531772166e029740e65a3d8
parent9d9f21d314933edaf8180839375a47724cc322fc
octeontx2-af: simplify rvu_debugfs

The driver uses bitmap_print_to_pagebuf() to store human-readable
bitmaps representations in a temporary buffers; and then feed
seq_printf() with it.

Switch to using seq_printf("%*pb") directly and drop intermediate
buffer.

Signed-off-by: Yury Norov <ynorov@nvidia.com>
Link: https://patch.msgid.link/20260319201713.941956-2-ynorov@nvidia.com
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c