diff options
author | Johan Hovold <[email protected]> | 2022-03-03 19:05:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-03-18 14:13:15 +0100 |
commit | 202c08914ba50dd324e42d5ad99535a89f242560 (patch) | |
tree | 10f54efa3999327e4875a9b6bc82203ec4674bfe /kernel/bpf/arraymap.c | |
parent | b850b7a8b369322adf699ef48ceff4d902525c8c (diff) |
firmware: sysfb: fix platform-device leak in error path
Make sure to free the platform device also in the unlikely event that
registration fails.
Fixes: 0589e8889dce ("drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb")
Fixes: 8633ef82f101 ("drivers/firmware: consolidate EFI framebuffer setup for all arches")
Cc: [email protected] # 5.14
Cc: Miaoqian Lin <[email protected]>
Cc: Javier Martinez Canillas <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions