linux-stable/drivers
Mario Limonciello 64455ea0ff thunderbolt: Use const qualifier for ring_interrupt_index
commit 1716efdb07 upstream.

`ring_interrupt_index` doesn't change the data for `ring` so mark it as
const. This is needed by the following patch that disables interrupt
auto clear for rings.

Cc: Sanju Mehta <Sanju.Mehta@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-05 11:14:16 +02:00
..
accessibility
acpi ACPI: video: Fix Lenovo Ideapad Z570 DMI match 2023-03-11 16:26:42 +01:00
amba
android binder: fix UAF of ref->proc caused by race condition 2022-09-15 12:23:50 +02:00
ata ata: pata_legacy: fix pdc20230_set_piomode() 2022-11-10 15:47:20 +01:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-04-05 11:14:16 +02:00
auxdisplay
base driver core: Fix bus_type.match() error handling in __driver_attach() 2023-01-18 09:26:42 +01:00
bcma
block block: sunvdc: add check for mdesc_grab() returning NULL 2023-03-22 13:26:14 +01:00
bluetooth Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work 2023-04-05 11:14:16 +02:00
bus bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() 2023-02-22 12:46:01 +01:00
cdrom
char tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak 2023-01-18 09:26:36 +01:00
clk clk: st: Fix memory leak in st_of_quadfs_setup() 2023-01-18 09:26:33 +01:00
clocksource
connector
cpufreq cpufreq: davinci: Fix clk use after free 2023-03-11 16:26:37 +01:00
cpuidle cpuidle: dt: Return the correct numbers of parsed idle states 2023-01-18 09:26:09 +01:00
crypto crypto: n2 - add missing hash statesize 2023-01-18 09:26:38 +01:00
dax
dca
devfreq
dio drivers: dio: fix possible memory leak in dio_init() 2023-01-18 09:26:22 +01:00
dma dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size 2023-03-11 16:26:33 +01:00
dma-buf
edac EDAC/device: Respect any driver-supplied workqueue polling value 2023-02-06 07:46:31 +01:00
eisa
extcon
firewire firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 2023-02-22 12:46:01 +01:00
firmware efi: Accept version 2 of memory attributes table 2023-02-22 12:46:02 +01:00
fmc
fpga fpga: altera-pr-ip: fix unsigned comparison with less than zero 2022-08-25 11:11:21 +02:00
fsi fsi: core: Check error number after calling ida_simple_get 2022-10-26 13:17:06 +02:00
gpio gpio: vf610: connect GPIO label to dev name 2023-03-11 16:26:39 +01:00
gpu drm/i915: Don't use stolen memory for ring buffers with LLC 2023-03-22 13:26:16 +01:00
hid HID: uhid: Over-ride the default maximum data buffer value with our own 2023-03-22 13:26:16 +01:00
hsi HSI: omap_ssi_core: Fix error handling in ssi_init() 2023-01-18 09:26:26 +01:00
hv Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region 2022-09-28 10:56:52 +02:00
hwmon hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs 2023-04-05 11:14:16 +02:00
hwspinlock
hwtracing intel_th: pci: Add Meteor Lake-P support 2022-08-25 11:11:29 +02:00
i2c i2c: imx-lpi2c: check only for enabled interrupt flags 2023-04-05 11:14:14 +02:00
ide
idle entel_idle: Disable IBRS during long idle 2022-11-01 19:14:45 +01:00
iio iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word() 2023-03-11 16:26:54 +01:00
infiniband IB/hfi1: Assign npages earlier 2023-03-11 16:26:32 +01:00
input Input: ads7846 - don't check penirq immediately for 7845 2023-03-11 16:26:40 +01:00
iommu iommu/amd: Fix ivrs_acpihid cmdline parsing code 2023-01-18 09:26:38 +01:00
ipack
irqchip irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts 2023-03-11 16:26:38 +01:00
isdn mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() 2023-01-18 09:26:28 +01:00
leds
lightnvm
macintosh macintosh: windfarm: Use unsigned type for 1-bit bitfields 2023-03-17 08:30:38 +01:00
mailbox mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg 2022-10-26 13:17:07 +02:00
mcb mcb: mcb-parse: fix error handing in chameleon_parse_gdd() 2023-01-18 09:26:24 +01:00
md dm flakey: don't corrupt the zero page 2023-03-11 16:26:47 +01:00
media media: m5mols: fix off-by-one loop termination error 2023-03-22 13:26:15 +01:00
memory memory: of: Fix refcount leak bug in of_get_ddr_timings() 2022-10-26 13:17:02 +02:00
memstick memstick/ms_block: Fix a memory leak 2022-08-25 11:11:21 +02:00
message
mfd mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read() 2023-03-11 16:26:39 +01:00
misc cxl: Fix refcount leak in cxl_calc_capp_routing 2023-01-18 09:26:27 +01:00
mmc mmc: atmel-mci: fix race between stop command and start of next command 2023-03-22 13:26:15 +01:00
mtd ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed 2023-03-11 16:26:51 +01:00
mux
net net: mdio: thunder: Add missing fwnode_handle_put() 2023-04-05 11:14:16 +02:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-22 13:26:14 +01:00
ntb
nubus
nvdimm
nvme nvmet: avoid potential UAF in nvmet_req_complete() 2023-03-22 13:26:14 +01:00
nvmem
of of: property: decrement node refcount in of_fwnode_get_reference_args() 2022-12-08 11:16:31 +01:00
oprofile
parisc parisc: led: Fix potential null-ptr-deref in start_task() 2023-01-18 09:26:38 +01:00
parport parport_pc: Avoid FIFO port location truncation 2022-11-25 17:36:50 +01:00
pci PCI: Avoid FLR for AMD FCH AHCI adapters 2023-03-11 16:26:49 +01:00
pcmcia
perf
phy phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 16:26:55 +01:00
pinctrl pinctrl: at91: use devm_kasprintf() to avoid potential leaks 2023-03-11 16:26:43 +01:00
platform platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe 2023-01-18 09:26:43 +01:00
pnp PNP: fix name memory leak in pnp_alloc_dev() 2023-01-18 09:26:10 +01:00
power power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition 2023-04-05 11:14:14 +02:00
powercap powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue 2022-10-26 13:17:08 +02:00
pps
ps3
ptp
pwm pwm: stm32-lp: fix the check on arr and cmp registers update 2023-03-11 16:26:50 +01:00
rapidio rapidio: devices: fix missing put_device in mport_cdev_open 2023-01-18 09:26:12 +01:00
ras
regulator regulator: s5m8767: Bounds check id indexing into arrays 2023-03-11 16:26:43 +01:00
remoteproc remoteproc: qcom: wcnss: Fix handling of IRQs 2022-08-25 11:11:24 +02:00
reset
rpmsg rpmsg: glink: Avoid infinite loop on intent for missing channel 2023-03-11 16:26:41 +01:00
rtc rtc: pm8xxx: fix set-alarm race 2023-03-11 16:26:44 +01:00
s390 s390/lcs: Fix return type of lcs_start_xmit() 2023-01-18 09:26:31 +01:00
sbus
scsi scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate() 2023-04-05 11:14:14 +02:00
sfi
sh
sn
soc ARM: ux500: do not directly dereference __iomem 2023-01-18 09:26:36 +01:00
spi spi: bcm63xx-hsspi: Fix multi-bit mode setting 2023-03-11 16:26:43 +01:00
spmi spmi: pmic-arb: correct duplicate APID to PPID mapping logic 2022-10-26 13:17:07 +02:00
ssb
staging staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh 2023-03-13 10:16:27 +01:00
target scsi: target: core: Fix warning on RT kernels 2023-02-22 12:46:01 +01:00
tc
tee
thermal thermal: intel: powerclamp: Fix cur_state for multi package system 2023-03-11 16:26:55 +01:00
thunderbolt thunderbolt: Use const qualifier for ring_interrupt_index 2023-04-05 11:14:16 +02:00
tty hvc/xen: prevent concurrent accesses to the shared ring 2023-04-05 11:14:16 +02:00
uio uio: uio_dmem_genirq: Fix deadlock between irq config and handling 2023-01-18 09:26:23 +01:00
usb uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2 2023-04-05 11:14:16 +02:00
uwb
vfio vfio: platform: Do not pass return buffer to ACPI _RST method 2023-01-18 09:26:23 +01:00
vhost vhost/vsock: Use kvmalloc/kvfree for larger packets. 2022-10-26 13:17:00 +02:00
video fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks 2023-03-22 13:26:16 +01:00
virt
virtio
vlynq
vme vme: Fix error not catched in fake_init() 2023-01-18 09:26:25 +01:00
w1 w1: fix WARNING after calling w1_process() 2023-02-06 07:46:30 +01:00
watchdog watchdog: pcwd_usb: Fix attempting to access uninitialized memory 2023-03-11 16:26:52 +01:00
xen xen/platform-pci: add missing free_irq() in error path 2022-12-08 11:16:31 +01:00
zorro
Kconfig
Makefile