summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/hbm.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov2016-04-01 22:53:01 +0200
committerGreg Kroah-Hartman2016-04-30 23:08:08 +0200
commitb9c79543efcd0235d2fc1485c31ec9e9584f3ad7 (patch)
tree5446ba70594fa21d2b8b7509e2ea9541cc8783ea /drivers/misc/mei/hbm.c
parentchar: xillybus: use devm_add_action_or_reset (diff)
downloadkernel-qcow2-linux-b9c79543efcd0235d2fc1485c31ec9e9584f3ad7.tar.gz
kernel-qcow2-linux-b9c79543efcd0235d2fc1485c31ec9e9584f3ad7.tar.xz
kernel-qcow2-linux-b9c79543efcd0235d2fc1485c31ec9e9584f3ad7.zip
mei: do not pin module if cldrv->probe() failed
If cldrv->probe() failed in mei_cl_device_probe(), the mei module is left pinned. The patch moves __module_get(THIS_MODULE) after cldrv->probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hbm.c')
0 files changed, 0 insertions, 0 deletions