summaryrefslogtreecommitdiffstats
path: root/fs/kernfs/inode.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-01 18:51:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-20 12:11:56 +0200
commit5033ac5c580cb22245a0c2b9e53d508e8fdd50d8 (patch)
tree30e9e44b7d65a35852e162addfaa14b64795079e /fs/kernfs/inode.c
parentUSB: allow some usb functions to take a const pointer. (diff)
downloadlinux-5033ac5c580cb22245a0c2b9e53d508e8fdd50d8.tar.xz
linux-5033ac5c580cb22245a0c2b9e53d508e8fdd50d8.zip
USB: make devnode() callback in usb_class_driver take a const *
With the changes to the driver core to make more pointers const, the USB subsystem also needs to be modified to take a const * for the devnode callback so that the driver core's constant pointer will also be properly propagated. Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: Juergen Stuber <starblue@users.sourceforge.net> Reviewed-by: Johan Hovold <johan@kernel.org> Acked-by: Pete Zaitcev <zaitcev@redhat.com> Reviewed-by: Jiri Kosina <jkosina@suse.cz> Link: https://lore.kernel.org/r/20221001165128.2688526-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs/inode.c')
0 files changed, 0 insertions, 0 deletions