aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2020-05-22 16:15:49 +0000
committerArd Biesheuvel <[email protected]>2020-05-22 16:19:06 +0000
commitd8bd8c6e2cfab8b78b537715255be8d7557791c0 (patch)
tree2a37490a93705a81c7c17aeb75b1270715099b1f /tools/perf/scripts/python
parentefi/libstub: Use pool allocation for the command line (diff)
downloadkernel-d8bd8c6e2cfab8b78b537715255be8d7557791c0.tar.gz
kernel-d8bd8c6e2cfab8b78b537715255be8d7557791c0.zip
efi/efivars: Add missing kobject_put() in sysfs entry creation error path
The documentation provided by kobject_init_and_add() clearly spells out the need to call kobject_put() on the kobject if an error is returned. Add this missing call to the error path. Cc: <[email protected]> Reported-by: 亿一 <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions