diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-05-22 18:15:49 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-22 18:19:06 +0200 |
commit | d8bd8c6e2cfab8b78b537715255be8d7557791c0 (patch) | |
tree | 2a37490a93705a81c7c17aeb75b1270715099b1f /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 27cd5511feffea3956d081585316272795e45bce (diff) |
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: <stable@vger.kernel.org>
Reported-by: 亿一 <teroincn@gmail.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions