diff options
author | Denis Arefev <arefev@swemel.ru> | 2022-12-06 12:17:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-20 12:35:10 +0200 |
commit | ac5866fcb6f5236527f98978217a03abf7742fb1 (patch) | |
tree | 5ead90b36e3da38c8c3ff2fb9ef67c4a7ceefc5f /mm/kasan | |
parent | d71b48d5b18186371fcc86cf350172cf8d7ce620 (diff) | |
download | linux-ac5866fcb6f5236527f98978217a03abf7742fb1.tar.gz |
power: supply: axp288_fuel_gauge: Added check for negative values
[ Upstream commit bf6c880d5d1448489ebf92e2d13d5713ff644930 ] 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>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions