linux-stable/drivers/misc
Jiasheng Jiang 9c27896ac1 habanalabs: Add check for pci_enable_device
As the potential failure of the pci_enable_device(),
it should be better to check the return value and return
error if fails.

Fixes: 70b2f993ea ("habanalabs: create common folder")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2022-02-28 14:22:06 +02:00
..
altera-stapl
bcm-vk
c2port
cardreader misc: rtsx: rts522a rts5228 rts5261 support Runtime PM 2022-02-25 12:11:16 +01:00
cb710
cxl
echo
eeprom Linux 5.17-rc4 2022-02-14 09:00:38 +01:00
genwqe
habanalabs habanalabs: Add check for pci_enable_device 2022-02-28 14:22:06 +02:00
ibmasm
lis3lv02d
lkdtm lkdtm/fortify: Swap memcpy() for strncpy() 2022-02-25 12:11:01 +01:00
mei mei: do not overwrite state on hw start 2022-02-25 12:14:01 +01:00
ocxl ocxl: Make use of the helper macro LIST_HEAD() 2022-02-25 12:09:56 +01:00
pvpanic
sgi-gru misc: sgi-gru: Don't cast parameter in bit operations 2022-02-25 12:09:26 +01:00
sgi-xp
ti-st
uacce
vmw_vmci VMCI: Fix some error handling paths in vmci_guest_probe_device() 2022-02-25 11:55:01 +01:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel-ssc.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
dw-xdata-pcie.c
enclosure.c
fastrpc.c misc: fastrpc: avoid double fput() on failed usercopy 2022-02-03 16:45:39 +01:00
gehc-achc.c
hi6421v600-irq.c
hisi_hikey_usb.c
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c
isl29003.c
isl29020.c
Kconfig misc: open-dice: Add driver to expose DICE data to userspace 2022-02-04 16:45:39 +01:00
kgdbts.c
lattice-ecp3-config.c
Makefile misc: open-dice: Add driver to expose DICE data to userspace 2022-02-04 16:45:39 +01:00
open-dice.c misc: open-dice: Add driver to expose DICE data to userspace 2022-02-04 16:45:39 +01:00
pch_phub.c
pci_endpoint_test.c
phantom.c
qcom-coincell.c
sram-exec.c
sram.c
sram.h
tifm_7xx1.c
tifm_core.c
tsl2550.c
vmw_balloon.c
xilinx_sdfec.c