linux-stable/drivers
Yang Yingliang b5bcb94b09 HID: hyperv: fix possible memory leak in mousevsc_probe()
If hid_add_device() returns error, it should call hid_destroy_device()
to free hid_dev which is allocated in hid_allocate_device().

Fixes: 74c4fb0580 ("HID: hv_mouse: Properly add the hid device")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2022-11-02 14:34:56 +01:00
..
accessibility
acpi platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
amba
android
ata ata changes for 6.1-rc1 2022-10-07 10:48:49 -07:00
atm
auxdisplay
base regmap: Updates for v6.1 2022-10-04 19:12:16 -07:00
bcma
block for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
bluetooth
bus ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
cdrom
char
clk * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
clocksource
comedi
connector
counter
cpufreq linux-kselftest-next-6.1-rc1 2022-10-06 12:53:15 -07:00
cpuidle ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
crypto * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
cxl
dax
dca
devfreq
dio
dma
dma-buf whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
edac
eisa
extcon
firewire
firmware arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
fpga
fsi
gnss
gpio platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
gpu drm fix for 6.1-rc1 2022-10-07 09:47:47 -07:00
greybus
hid HID: hyperv: fix possible memory leak in mousevsc_probe() 2022-11-02 14:34:56 +01:00
hsi
hte
hv
hwmon hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
hwspinlock
hwtracing
i2c ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
i3c
idle
iio * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
infiniband
input * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
interconnect
iommu arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
ipack
irqchip arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
isdn
leds platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
macintosh
mailbox
mcb
md for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
media media updates for v6.1-rc1 2022-10-07 11:04:35 -07:00
memory
memstick
message
mfd * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
misc whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
mmc
most
mtd ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
mux
net ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
nfc
ntb
nubus
nvdimm
nvme for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
nvmem
of * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
opp
parisc asm-generic updates for v6.1 2022-10-06 12:10:37 -07:00
parport
pci
pcmcia
peci
perf arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
phy ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
pinctrl ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
platform platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
rapidio
ras
regulator regulator: Updates for v6.1 2022-10-04 19:27:45 -07:00
remoteproc
reset ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
rpmsg
rtc
s390 for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
sbus
scsi for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
sh
siox
slimbus
soc ARM: SoC code changes for 6.1 2022-10-06 11:22:25 -07:00
soundwire
spi spi: Updates for v6.1 2022-10-04 19:36:53 -07:00
spmi
ssb
staging media updates for v6.1-rc1 2022-10-07 11:04:35 -07:00
target for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
tc
tee ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
thermal Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
thunderbolt Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
tty ARM: SoC code changes for 6.1 2022-10-06 11:22:25 -07:00
ufs for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
uio
usb sound updates for 6.1-rc1 2022-10-05 12:02:07 -07:00
vdpa Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
vfio
vhost
video drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
virt
virtio
vlynq
w1
watchdog ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
xen
zorro
Kconfig
Makefile