aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions.c
diff options
context:
space:
mode:
authorPavel Shved <[email protected]>2011-06-17 16:25:12 +0000
committerPaul Mundt <[email protected]>2011-06-24 08:00:39 +0000
commit291600193e5c0c3f0a9af1f23a8076dd7417c02a (patch)
tree94d64fc90e5bd5de69ce4b9e0df0b169db82b544 /kernel/trace/trace_functions.c
parentsm501fb: fix section mismatch warning (diff)
downloadkernel-291600193e5c0c3f0a9af1f23a8076dd7417c02a.tar.gz
kernel-291600193e5c0c3f0a9af1f23a8076dd7417c02a.zip
hecubafb: add module_put on error path in hecubafb_probe()
In hecubafb_probe(), after a successful try_module_get, vzalloc may fail and make the hecubafb_probe return, but the module is not put on this error path. This patch adds an exit point that calls module_put in such situation. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Pavel Shved <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions