[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173039103924.1797070.1959784060223429346.b4-ty@kernel.org>
Date: Thu, 31 Oct 2024 16:10:39 +0000
From: Lee Jones <lee@...nel.org>
To: lee@...nel.org, pavel@....cz, Dipendra Khadka <kdipendra88@...il.com>
Cc: linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: (subset) [PATCH v2] leds: bcm6328: Replace divide condition
with comparison for shift value
On Sat, 19 Oct 2024 07:33:01 +0000, Dipendra Khadka wrote:
> Fixes the following Smatch warnings:
> 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'
>
>
Applied, thanks!
[1/1] leds: bcm6328: Replace divide condition with comparison for shift value
commit: 5f57672cf4629542b525cfef027e293656915368
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists