aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2021-08-06 09:59:47 +0100
committerGreg Kroah-Hartman <[email protected]>2021-08-06 15:18:40 +0200
commitde0534df93474f268486c486ea7e01b44a478026 (patch)
tree93262aac76210b8a1249b310dc3c7ed61f1d68c7 /scripts/gdb/linux/utils.py
parent7b808449f572d07bee840cd9da7e2fe6a1b8f4b5 (diff)
nvmem: core: fix error handling while validating keepout regions
Current error path on failure of validating keepout regions is calling put_device, eventhough the device is not even registered at that point. Fix this by adding proper error handling of freeing ida and nvmem. Fixes: fd3bb8f54a88 ("nvmem: core: Add support for keepout regions") Cc: <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions