acrn-kernel/drivers/power
Denis Arefev ac5866fcb6 power: supply: axp288_fuel_gauge: Added check for negative values
[ Upstream commit bf6c880d5d ]

Variable 'pirq', which may receive negative value
in platform_get_irq().
Used as an index in a function regmap_irq_get_virq().

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Denis Arefev <arefev@swemel.ru>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-20 12:35:10 +02:00
..
reset
supply power: supply: axp288_fuel_gauge: Added check for negative values 2023-04-20 12:35:10 +02:00
Kconfig
Makefile