Linux kernel bug fix: power: supply: Fix power_supply_get_battery_info() if parent is NULL
Subsystem: drivers (drivers/power/supply/power_supply_core.c)
Bug type: crash, severity: security
Files changed: drivers/power/supply/power_supply_core.c
Introduced by Sebastian Reichel on 2023-03-29 22:38:56 +0200; fixed by Huacai Chen on 2023-05-09 09:32:22 +0200 (lifetime: 40 days)