OpenCloudOS-Kernel/drivers/staging/most
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
..
Documentation staging: most: Documentation: update driver documentation 2019-04-16 13:25:18 +02:00
cdev staging: most: cdev: fix chrdev_region leak in mod_exit 2019-05-02 19:43:17 +02:00
dim2 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
i2c staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
net staging: most: change signature of function probe_channel 2019-04-16 13:24:58 +02:00
sound staging: most: sound: pass correct device when creating a sound card 2019-04-30 14:34:06 +02:00
usb staging: most: usb: remove prefix from description tag 2019-04-16 13:25:17 +02:00
video staging: most: change signature of function probe_channel 2019-04-16 13:24:58 +02:00
Kconfig staging: most: enable configfs support 2019-04-16 13:25:17 +02:00
Makefile staging: most: enable configfs support 2019-04-16 13:25:17 +02:00
TODO
configfs.c staging: most: configfs: Make mdev_link_list static 2019-04-19 14:59:36 +02:00
core.c staging: most: core: replace strcpy() by strscpy() 2019-04-25 12:04:48 +02:00
core.h staging: most: allow speculative configuration 2019-04-16 13:25:18 +02:00