diff options
author | Dipendra Khadka <kdipendra88@gmail.com> | 2024-10-19 10:33:01 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-10-31 19:22:23 +0300 |
commit | 99d36eed05e735105e89e0a18877518c08618e52 (patch) | |
tree | 56145b37732829aaab299c7845ba787825eb86cb /tools/perf/scripts/python/task-analyzer.py | |
parent | 09b1ef9813a0742674f7efe26104403ca94a1b4a (diff) | |
download | linux-99d36eed05e735105e89e0a18877518c08618e52.tar.xz |
leds: bcm6328: Replace divide condition with comparison for shift value
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'
Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Link: https://lore.kernel.org/r/20241019073302.35499-1-kdipendra88@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions