aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorAndrey Tsyvarev <[email protected]>2015-02-06 04:39:57 +0000
committerRusty Russell <[email protected]>2015-02-06 05:01:40 +0000
commitde96d79f343321d26ff920af25fcefe6895ca544 (patch)
treee614ee846061655156e2ec93922e1e7bcefc6ab2 /lib/string.c
parentmodule: set ksymtab/kcrctab* section addresses to 0x0 (diff)
downloadkernel-de96d79f343321d26ff920af25fcefe6895ca544.tar.gz
kernel-de96d79f343321d26ff920af25fcefe6895ca544.zip
kernel/module.c: Free lock-classes if parse_args failed
parse_args call module parameters' .set handlers, which may use locks defined in the module. So, these classes should be freed in case parse_args returns error(e.g. due to incorrect parameter passed). Signed-off-by: Andrey Tsyvarev <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions