linux/drivers/mcb
Johannes Thumshirn 7bc364097a mcb: Acquire reference to device in probe
mcb_probe() does not aqcuire a reference to the probed device but drops one
when removing the device. As it is actually using the device, it should grab
a reference via get_device().

This could lead to a panic found with a rmmod/modprobe stress test

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reported-by: Andreas Werner <andreas.werner@men.de>
Tested-by: Andreas Werner <andreas.werner@men.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-13 18:49:30 -07:00
..
Kconfig drivers: mcb: Fix build error discovered by 0-day bot 2014-03-09 10:22:46 -07:00
Makefile
mcb-core.c mcb: Acquire reference to device in probe 2016-06-13 18:49:30 -07:00
mcb-internal.h mcb: export bus information via sysfs 2016-05-03 15:07:35 -07:00
mcb-parse.c mcb: Fixed bar number assignment for the gdd 2016-05-03 15:52:28 -07:00
mcb-pci.c mcb: Delete num_cells variable which is not required 2016-05-03 15:52:28 -07:00