linux/drivers/staging
Suresh Udipi af708900e9 staging: most: cdev: fix chrdev_region leak in mod_exit
It looks like v4.18-rc1 commit [0] which upstreams mld-1.8.0
commit [1] missed to fix the memory leak in mod_exit function.

Do it now.

[0] aba258b731 ("staging: most: cdev: fix chrdev_region leak")
[1] https://github.com/microchip-ais/linux/commit/a2d8f7ae7ea381
    ("staging: most: cdev: fix leak for chrdev_region")

Signed-off-by: Suresh Udipi <sudipi@jp.adit-jv.com>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Acked-by: Christian Gromm <christian.gromm@microchip.com>
Fixes: aba258b731 ("staging: most: cdev: fix chrdev_region leak")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-02 19:43:17 +02:00
..
android staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
axis-fifo staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
board staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
clocking-wizard staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
comedi staging: comedi: comedi_isadma: Use a non-NULL device for DMA API 2019-04-27 15:00:35 +02:00
emxx_udc staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
erofs Merge 5.1-rc6 into staging-next 2019-04-21 23:18:44 +02:00
fbtft staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
fieldbus staging: fieldbus: anybus-s: fix wait_for_completion_timeout return handling 2019-05-01 16:45:03 +02:00
fsl-dpaa2 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
fwserial staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
gasket Staging: gasket: Use DIV_ROUND_UP 2019-04-16 13:22:50 +02:00
gdm724x staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
goldfish staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
greybus staging: greybus: power_supply: use struct_size() helper 2019-04-19 15:03:07 +02:00
gs_fpgaboot staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
iio Second set of IIO new device support, features and cleanup for the 5.2 cycle. 2019-04-25 10:50:51 +02:00
kpc2000 staging: kpc2000: fix up build problems with readq() 2019-05-01 10:48:43 +02:00
ks7010 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
media staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
most staging: most: cdev: fix chrdev_region leak in mod_exit 2019-05-02 19:43:17 +02:00
mt7621-dma staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-dts staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-pci staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-pci-phy staging: mt7621-pci-phy: convert driver to use kernel regmap API's 2019-04-19 15:01:34 +02:00
mt7621-pinctrl staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
mt7621-spi staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
netlogic staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
nvec staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
octeon staging: octeon-ethernet: add TODO 2019-04-30 15:00:30 +02:00
octeon-usb staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
olpc_dcon staging: olpc_dcon: Convert all uses of old GPIO API to new descriptor API 2019-04-25 12:04:48 +02:00
pi433 staging: pi433: add dependency to PA0, 1, 2 setting for output power level 2019-04-16 13:44:30 +02:00
ralink-gdma staging: ralink-gdma: Use struct_size() in kzalloc() 2019-04-16 13:44:30 +02:00
rtl8188eu staging: rtlwifi: move remaining phydm .h files 2019-05-01 10:40:10 +02:00
rtl8192e staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
rtl8192u staging: rtl8192u: ieee80211: Resolve ERROR reported by checkpatch 2019-05-01 18:18:03 +02:00
rtl8712 staging: rtl8712: remove unnecessary NULL check 2019-04-16 13:31:58 +02:00
rtl8723bs staging: rtl8723bs: core: Use !x in place of NULL comparison. 2019-05-01 18:18:02 +02:00
rts5208 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
sm750fb Staging: sm750fb: Change *array into *const array 2019-04-30 15:03:42 +02:00
speakup staging: speakup: refactor to use existing code in vt 2019-04-19 15:09:10 +02:00
unisys staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
vboxvideo staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
vc04_services staging: vc04_services: bcm2835-camera: Compress two lines into one line 2019-05-01 18:18:03 +02:00
vme staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
vt6655 staging: vt6655: upc: remove double blank lines 2019-04-16 13:44:30 +02:00
vt6656 staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
wilc1000 staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context 2019-04-17 12:40:51 +02:00
wlan-ng staging: wlan-ng: Fix improper SPDX comment style 2019-05-02 19:43:16 +02:00
Kconfig staging: rtlwifi: delete the staging driver 2019-05-01 10:15:42 +02:00
Makefile staging: rtlwifi: delete the staging driver 2019-05-01 10:15:42 +02:00