kernel_optimize_test/drivers/misc
Tomer Tayar eb4154fb61 habanalabs: Call put_pid() when releasing control device
[ Upstream commit 27ac5aada024e0821c86540ad18f37edadd77d5e ]

The refcount of the "hl_fpriv" structure is not used for the control
device, and thus hl_hpriv_put() is not called when releasing this
device.
This results with no call to put_pid(), so add it explicitly in
hl_device_release_ctrl().

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-30 14:31:50 +02:00
..
altera-stapl
c2port
cardreader misc: rtsx: init of rts522a add OCP power off when no card is present 2021-03-04 11:38:32 +01:00
cb710
cxl
echo
eeprom misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom 2021-03-11 14:17:27 +01:00
genwqe
habanalabs habanalabs: Call put_pid() when releasing control device 2021-03-30 14:31:50 +02:00
ibmasm
lis3lv02d
lkdtm lkdtm: don't move ctors to .rodata 2021-02-17 11:02:24 +01:00
mei mei: me: add adler lake point LP DID 2021-03-04 11:38:40 +01:00
ocxl
sgi-gru
sgi-xp
ti-st
uacce
vmw_vmci drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue 2021-03-04 11:38:32 +01:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel_tclib.c
atmel-ssc.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c
fastrpc.c misc: fastrpc: restrict user apps from sending kernel RPC messages 2021-03-17 17:06:31 +01:00
hisi_hikey_usb.c
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c
isl29003.c
isl29020.c
Kconfig
kgdbts.c
lattice-ecp3-config.c
Makefile
pch_phub.c
pci_endpoint_test.c
phantom.c
pti.c
pvpanic.c misc/pvpanic: Export module FDT device table 2021-03-17 17:06:31 +01:00
qcom-coincell.c
sram-exec.c
sram.c
sram.h
tifm_7xx1.c
tifm_core.c
tsl2550.c
vmw_balloon.c
xilinx_sdfec.c