[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZvU0IAbrloI5KQNj@duo.ucw.cz>
Date: Thu, 26 Sep 2024 12:14:56 +0200
From: Pavel Machek <pavel@....cz>
To: Dipendra Khadka <kdipendra88@...il.com>
Cc: avel@....cz, ee@...nel.org, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: leds: replace divide condition 'shift / 16'
with 'shift >= 16'
On Sun 2024-09-22 17:40:19, Dipendra Khadka wrote:
> Smatch reported following:
> '''
> drivers/leds/leds-bcm6328.c:116 bcm6328_led_mode() warn: replace divide condition 'shift / 16' with 'shift >= 16'
> drivers/leds/leds-bcm6328.c:360 bcm6328_led() warn: replace divide condition 'shift / 16' with 'shift >= 16'
> '''
> Replacing 'shift / 16' with 'shift >= 16'.
>
> Signed-off-by: Dipendra Khadka <kdipendra88@...il.com>
Reviewed-by: Pavel Machek <pavel@....cz>
BR,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists