]> Git Repo - linux.git/commit
driver core: make struct class.devnode() take a const *
authorGreg Kroah-Hartman <[email protected]>
Wed, 23 Nov 2022 12:25:20 +0000 (13:25 +0100)
committerGreg Kroah-Hartman <[email protected]>
Thu, 24 Nov 2022 16:12:27 +0000 (17:12 +0100)
commitff62b8e6588fb07bedda7423622c140c4edd66a7
tree6c178290c9b705eca22c60ae65fb4bf5150ee71c
parent23680f0b7d7f67a935adb38058110d2d81bbe6ea
driver core: make struct class.devnode() take a const *

The devnode() in struct class should not be modifying the device that is
passed into it, so mark it as a const * and propagate the function
signature changes out into all relevant subsystems that use this
callback.

Cc: Fenghua Yu <[email protected]>
Cc: Reinette Chatre <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: [email protected]
Cc: "H. Peter Anvin" <[email protected]>
Cc: FUJITA Tomonori <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Justin Sanders <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: Benjamin Gaignard <[email protected]>
Cc: Liam Mark <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Brian Starkey <[email protected]>
Cc: John Stultz <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Leon Romanovsky <[email protected]>
Cc: Dennis Dalessandro <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Sean Young <[email protected]>
Cc: Frank Haverkamp <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Alex Williamson <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Anton Vorontsov <[email protected]>
Cc: Colin Cross <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Hans Verkuil <[email protected]>
Cc: Christophe JAILLET <[email protected]>
Cc: Xie Yongji <[email protected]>
Cc: Gautam Dawar <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Eli Cohen <[email protected]>
Cc: Parav Pandit <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
24 files changed:
arch/x86/kernel/cpu/resctrl/pseudo_lock.c
arch/x86/kernel/cpuid.c
arch/x86/kernel/msr.c
block/bsg.c
drivers/block/aoe/aoechr.c
drivers/char/mem.c
drivers/char/misc.c
drivers/dma-buf/dma-heap.c
drivers/gpu/drm/drm_sysfs.c
drivers/infiniband/core/user_mad.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/hw/hfi1/device.c
drivers/input/input.c
drivers/media/dvb-core/dvbdev.c
drivers/media/pci/ddbridge/ddbridge-core.c
drivers/media/rc/rc-main.c
drivers/misc/genwqe/card_base.c
drivers/tty/tty_io.c
drivers/usb/core/file.c
drivers/vdpa/vdpa_user/vduse_dev.c
drivers/vfio/vfio_main.c
fs/pstore/pmsg.c
include/linux/device/class.h
sound/sound_core.c
This page took 0.069827 seconds and 4 git commands to generate.