]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netdevsim: don't embed file_operations into your structs
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Jan 2025 08:06:54 +0000 (08:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2025 12:14:36 +0000 (13:14 +0100)
commit1eb87004d294867ced3ec1bd620fdff2db933227
tree0c86e58de88ce74abc095a40f1702bd550bd7f78
parent231e9f05122b82dcb2b5ea8bb3081d4fc51a8bc4
netdevsim: don't embed file_operations into your structs

Just use debugfs_get_aux() instead of debugfs_real_fops().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250112080705.141166-10-viro@zeniv.linux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/netdevsim/hwstats.c