aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2020-09-22 23:04:12 +1000
committerWill Deacon <[email protected]>2020-09-28 21:52:22 +0100
commit119884249fdba34a06df250a4402a6b2f3697a47 (patch)
tree962d1a11127cb5ce392acad9b96c3ccd2b3a4f1e /scripts/gdb/linux/modules.py
parent5735f515843019257913432a8c36eb558be388db (diff)
firmware: arm_sdei: Common block for failing path in sdei_event_create()
There are multiple calls of kfree(event) in the failing path of sdei_event_create() to free the SDEI event. It means we need to call it again when adding more code in the failing path. It's prone to miss doing that and introduce memory leakage. This introduces common block for failing path in sdei_event_create() to resolve the issue. This shouldn't cause functional changes. Signed-off-by: Gavin Shan <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Acked-by: James Morse <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions