Re: [PATCH] power: supply: bq256xx: fix some problem in bq256xx_hw_init

From: Sebastian Reichel
Date: Thu Nov 16 2023 - 14:28:00 EST



On Thu, 16 Nov 2023 12:18:23 +0800, Su Hui wrote:
> smatch complains that there is a buffer overflow and clang complains
> 'ret' is never read.
>
> Smatch error:
> drivers/power/supply/bq256xx_charger.c:1578 bq256xx_hw_init() error:
> buffer overflow 'bq256xx_watchdog_time' 4 <= 4
>
> [...]

Applied, thanks!

[1/1] power: supply: bq256xx: fix some problem in bq256xx_hw_init
commit: b55d073e6501dc6077edaa945a6dad8ac5c8bbab

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>