]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netronome: don't bother with debugfs_real_fops()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jul 2025 21:22:05 +0000 (22:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:30:28 +0000 (13:30 +0200)
commit1c1ec6f00e20296a9db044977dafaada070c581f
treebdfe1b62aa7319d77965d67a48340ce614aa5810
parenta7694ff11aa9d97d0f690351a964544849e5158d
netronome: don't bother with debugfs_real_fops()

Just turn nfp_tx_q_show() into a wrapper for helper that gets
told whether it's tx or xdp via an explicit argument and have
nfp_xdp_q_show() call the underlying helper instead.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Link: https://lore.kernel.org/r/20250702212205.GF3406663@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c