linux-stable/drivers/thunderbolt
Greg Kroah-Hartman 162736b0d7 driver core: make struct device_type.uevent() take a const *
The uevent() callback in struct device_type 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: Alan Stern <stern@rowland.harvard.edu>
Cc: Andreas Noever <andreas.noever@gmail.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Bard Liao <yung-chuan.liao@linux.intel.com>
Cc: Chaitanya Kulkarni <kch@nvidia.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jilin Yuan <yuanjilin@cdjrlc.com>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Mark Gross <markgross@kernel.org>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Maximilian Luz <luzmaximilian@gmail.com>
Cc: Michael Jamet <michael.jamet@intel.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Sanyog Kale <sanyog.r.kale@intel.com>
Cc: Sean Young <sean@mess.org>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Won Chung <wonchung@google.com>
Cc: Yehezkel Bernat <YehezkelShB@gmail.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> # for Thunderbolt
Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Wolfram Sang <wsa@kernel.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230111113018.459199-6-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-27 13:45:36 +01:00
..
acpi.c thunderbolt: ACPI: Use the helper fwnode_find_reference() 2022-10-25 11:45:28 +03:00
cap.c thunderbolt: cap: Fix kernel-doc formatting issue 2021-01-28 12:33:18 +03:00
ctl.c thunderbolt: Use the actual buffer in tb_async_error() 2022-08-18 11:55:46 +03:00
ctl.h thunderbolt: Fix typo in comment 2022-06-17 18:19:15 +03:00
debugfs.c thunderbolt: debugfs: Fix spelling mistakes in seq_puts text 2022-09-07 09:09:24 +03:00
dma_port.c thunderbolt: Use generic tb_nvm_[read|write]_data() for Thunderbolt 2/3 devices 2021-05-31 14:37:54 +03:00
dma_port.h
dma_test.c thunderbolt: Allow multiple DMA tunnels over a single XDomain connection 2021-03-18 18:25:31 +03:00
domain.c thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs 2022-09-24 09:22:01 +03:00
eeprom.c thunderbolt: Rename EEPROM handling bits to match USB4 spec 2022-03-04 17:10:36 +03:00
icm.c thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
Kconfig thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
lc.c thunderbolt: Add internal xHCI connect flows for Thunderbolt 3 devices 2022-02-02 13:56:51 +03:00
Makefile thunderbolt: build kunit tests without structleak plugin 2021-10-06 17:53:49 -06:00
nhi.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
nhi.h thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
nhi_ops.c thunderbolt: Software CM only should set force power in Tiger Lake 2020-09-03 12:06:40 +03:00
nhi_regs.h
nvm.c thunderbolt: Add support for ASMedia NVM image format 2022-09-07 09:06:51 +03:00
path.c thunderbolt: Dump path config space entries during discovery 2022-04-19 10:26:13 +03:00
property.c thunderbolt: Add tb_property_copy_dir() 2021-03-18 18:25:31 +03:00
quirks.c thunderbolt: Add quirk for Intel Goshen Ridge DP credits 2021-06-01 10:48:59 +03:00
retimer.c thunderbolt: Do not call PM runtime functions in tb_retimer_scan() 2023-01-09 10:43:51 +02:00
sb_regs.h thunderbolt: Add support for receiver lane margining 2022-09-05 09:02:16 +03:00
switch.c driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00
tb.c thunderbolt: Do not call PM runtime functions in tb_retimer_scan() 2023-01-09 10:43:51 +02:00
tb.h driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00
tb_msgs.h thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00
tb_regs.h thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
test.c thunderbolt: test: Use kunit_test_suite() macro 2022-07-11 17:13:21 -06:00
tmu.c thunderbolt: Change TMU mode to HiFi uni-directional once DisplayPort tunneled 2022-06-06 12:24:56 +03:00
tunnel.c thunderbolt: Use correct function to calculate maximum USB3 link rate 2023-01-09 10:44:23 +02:00
tunnel.h thunderbolt: Use different lane for second DisplayPort tunnel 2022-04-19 10:26:18 +03:00
usb4.c thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
usb4_port.c thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
xdomain.c driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00