kernel-fxtec-pro1x/drivers/staging/most
Suresh Udipi 34ae4c6a36 staging: most: cdev: fix chrdev_region leak in mod_exit
commit af708900e9a48c0aa46070c8a8cdf0608a1d2025 upstream.

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-10 17:54:05 +02:00
..
cdev staging: most: cdev: fix chrdev_region leak in mod_exit 2019-05-10 17:54:05 +02:00
dim2 staging: most: fix sparse warning Using plain integer as NULL pointer 2018-06-28 22:08:51 +09:00
Documentation staging: most: add ABI documentation 2017-11-27 09:20:37 +01:00
i2c staging: most: i2c: reduce parameters inconsistency 2018-05-08 13:41:49 +02:00
net staging: most: convert macro to static function 2018-01-08 16:36:00 +01:00
sound ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc() 2018-07-18 08:24:29 +02:00
usb staging: most: usb: remove local variable 2018-05-08 13:41:51 +02:00
video staging: most: video: fix registration of an empty comp core_component 2018-11-21 09:19:11 +01:00
core.c staging: most: core: use device description as name 2019-04-27 09:36:35 +02:00
core.h staging: most: sound: call snd_card_new with struct device 2018-05-08 13:41:50 +02:00
Kconfig staging: most: video: rename module 2017-11-27 09:20:34 +01:00
Makefile staging: most: fix Makefile 2017-11-28 13:34:59 +01:00
TODO