linux-stable/drivers
Philip Yang e411433b5f drm/amdkfd: Fix variable set but not used warning
commit 90c44207cd upstream.

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c: In function
'svm_range_deferred_list_work':
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:2067:22: warning:
variable 'p' set but not used [-Wunused-but-set-variable]
    2067 |  struct kfd_process *p;
         |

Fixes: 367c9b0f1b ("drm/amdkfd: Ensure mm remain valid in svm deferred_list work")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-By: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-13 19:27:40 +02:00
..
accessibility
acpi Revert "ACPI: processor: idle: Only flush cache on entering C3" 2022-04-13 19:27:40 +02:00
amba
android
ata ata: sata_dwc_460ex: Fix crash due to OOB write 2022-04-13 19:27:38 +02:00
atm
auxdisplay
base PM: core: keep irq flags in device_pm_check_callbacks() 2022-04-08 13:58:38 +02:00
bcma
block drbd: fix an invalid memory access caused by incorrect use of list iterator 2022-04-13 19:27:37 +02:00
bluetooth Bluetooth: mediatek: fix the conflict between mtk and msft vendor event 2022-04-13 19:27:19 +02:00
bus mips: cdmm: Fix refcount leak in mips_cdmm_phys_base 2022-04-08 13:58:17 +02:00
cdrom
char virtio_console: eliminate anonymous module_init & module_exit 2022-04-13 19:27:26 +02:00
clk clk: Enforce that disjoints limits are invalid 2022-04-13 19:27:25 +02:00
clocksource clocksource: acpi_pm: fix return value of __setup handler 2022-04-08 13:57:38 +02:00
comedi
connector
counter
cpufreq cpufreq: CPPC: Fix performance/frequency conversion 2022-04-13 19:27:24 +02:00
cpuidle cpuidle: qcom-spm: Check if any CPU is managed by SPM 2022-04-08 13:57:46 +02:00
crypto crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3 2022-04-08 13:58:36 +02:00
cxl cxl/port: Hold port reference until decoder release 2022-04-08 13:58:07 +02:00
dax dax: make sure inodes are flushed before destroy cache 2022-04-08 13:58:07 +02:00
dca
devfreq
dio
dma dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma 2022-04-08 13:58:27 +02:00
dma-buf udmabuf: validate ubuf->pagecount 2022-04-08 13:57:56 +02:00
edac
eisa
extcon
firewire
firmware firmware: google: Properly state IOMEM dependency 2022-04-08 13:58:30 +02:00
fpga
fsi fsi: Aspeed: Fix a potential double free 2022-04-08 13:58:24 +02:00
gnss
gpio gpio: Restrict usage of GPIO chip irq members before initialization 2022-04-13 19:27:38 +02:00
gpu drm/amdkfd: Fix variable set but not used warning 2022-04-13 19:27:40 +02:00
greybus
hid HID: apple: Report Magic Keyboard 2021 with fingerprint reader battery over USB 2022-04-13 19:27:15 +02:00
hsi
hv Drivers: hv: vmbus: Fix potential crash on module unload 2022-04-13 19:27:27 +02:00
hwmon hwmon: (pmbus) Add Vin unit off handling 2022-04-08 13:57:38 +02:00
hwspinlock
hwtracing
i2c i2c: mux: demux-pinctrl: do not deactivate a master that is not active 2022-04-08 13:58:21 +02:00
i3c
idle
iio iio: adc: Add check for devm_request_threaded_irq 2022-04-08 13:58:26 +02:00
infiniband RDMA/hfi1: Fix use-after-free bug for mm struct 2022-04-13 19:27:37 +02:00
input
interconnect
iommu iommu/omap: Fix regression in probe for NULL pointer dereference 2022-04-13 19:27:34 +02:00
ipack
irqchip irqchip/gic-v3: Fix GICR_CTLR.RWP polling 2022-04-13 19:27:38 +02:00
isdn
leds
macintosh
mailbox mailbox: imx: fix wakeup failure from freeze mode 2022-04-08 13:58:55 +02:00
mcb
md dm: requeue IO if mapping table not yet available 2022-04-13 19:27:17 +02:00
media media: ov6650: Fix crop rectangle affected by set format 2022-04-08 13:59:02 +02:00
memory memory: emif: check the pointer temp in get_device_details() 2022-04-08 13:57:50 +02:00
memstick memstick/mspro_block: fix handling of read-only devices 2022-04-08 13:58:36 +02:00
message
mfd mfd: asic3: Add missing iounmap() on error asic3_mfd_probe 2022-04-08 13:58:22 +02:00
misc habanalabs/gaudi: handle axi errors from NIC engines 2022-04-13 19:27:25 +02:00
mmc mmc: core: Fixup support for writeback-cache for eMMC and SD 2022-04-13 19:27:35 +02:00
most
mtd ubi: fastmap: Return error code if memory allocation fails in add_aeb() 2022-04-08 13:59:02 +02:00
mux
net qed: fix ethtool register dump 2022-04-13 19:27:37 +02:00
nfc
ntb
nubus
nvdimm nvdimm/region: Fix default alignment for small regions 2022-04-08 13:58:27 +02:00
nvme nvme: fix the read-only state for zoned namespaces with unsupposed features 2022-04-08 13:58:53 +02:00
nvmem
of
opp opp: Expose of-node's name in debugfs 2022-04-13 19:27:24 +02:00
parisc parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-04-13 19:27:26 +02:00
parport
pci PCI: endpoint: Fix misused goto label 2022-04-13 19:27:20 +02:00
pcmcia
perf perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator 2022-04-13 19:27:38 +02:00
phy phy: amlogic: meson8b-usb2: fix shared reset control use 2022-04-13 19:27:23 +02:00
pinctrl pinctrl: canonical rsel resistance selection property 2022-04-08 13:59:02 +02:00
platform platform/x86: hp-wmi: Fix 0x05 error code reported by several WMI calls 2022-04-13 19:27:21 +02:00
pnp
power power: supply: axp288_fuel_gauge: Use acpi_quirk_skip_acpi_ac_and_battery() 2022-04-13 19:27:18 +02:00
powercap powercap/dtpm_cpu: Reset per_cpu variable in the release function 2022-04-08 13:58:37 +02:00
pps pps: clients: gpio: Propagate return value from pps_gpio_probe 2022-04-08 13:58:24 +02:00
ps3
ptp ptp: replace snprintf with sysfs_emit 2022-04-13 19:27:09 +02:00
pwm pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add() 2022-04-08 13:58:23 +02:00
rapidio
ras
regulator regulator: atc260x: Fix missing active_discharge_on setting 2022-04-13 19:27:30 +02:00
remoteproc remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region 2022-04-08 13:58:27 +02:00
reset
rpmsg
rtc rtc: wm8350: Handle error for wm8350_register_irq 2022-04-13 19:27:06 +02:00
s390
sbus
scsi scsi: ufs: ufs-pci: Add support for Intel MTL 2022-04-13 19:27:34 +02:00
sh
siox
slimbus
soc soc: mediatek: pm-domains: Add wakeup capacity support in power domain 2022-04-08 13:57:49 +02:00
soundwire ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13" 2022-04-08 13:58:45 +02:00
spi spi: core: add dma_map_dev for __spi_unmap_msg() 2022-04-13 19:27:37 +02:00
spmi
ssb
staging staging: wfx: fix an error handling in wfx_init_common() 2022-04-13 19:27:24 +02:00
target
tc
tee
thermal thermal: int340x: Check for NULL after calling kmemdup() 2022-04-08 13:57:33 +02:00
thunderbolt
tty serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() 2022-04-13 19:27:26 +02:00
uio
usb xen/usb: harden xen_hcd against malicious backends 2022-04-13 19:27:21 +02:00
vdpa vdpa: mlx5: prevent cvq work from hogging CPU 2022-04-13 19:27:28 +02:00
vfio vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA 2022-04-13 19:27:17 +02:00
vhost tuntap: add sanity checks about msg_controllen in sendmsg 2022-04-13 19:27:19 +02:00
video fbdev: Fix unregistering of framebuffers without device 2022-04-13 19:27:38 +02:00
virt virt: acrn: fix a memory leak in acrn_dev_ioctl() 2022-04-08 13:58:30 +02:00
virtio virtio: use virtio_device_ready() in virtio_device_restore() 2022-04-08 13:58:57 +02:00
visorbus
vlynq
vme
w1 w1: w1_therm: fixes w1_seq for ds28ea00 sensors 2022-04-13 19:27:24 +02:00
watchdog watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function 2022-04-08 13:58:56 +02:00
xen
zorro
Kconfig
Makefile