Re: [PATCH][next][V3] rv: Fix addition on an uninitialized variable 'run'

From: Daniel Bristot de Oliveira
Date: Tue Apr 25 2023 - 03:55:51 EST


On 4/24/23 11:47, Colin Ian King wrote:
> The variable run is not initialized however it is being accumulated
> by the return value from the call to ikm_run_monitor. Fix this by
> initializing run to zero at the start of the function.
>
> Fixes: 4bc4b131d44c ("rv: Add rv tool")
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Acked-by: Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>

Thanks!
-- Daniel