Re: [PATCH 01/17] all: don't use bitmap_weight() where possible

From
Michał Mirosław <mirq-linux@rere.qmqm.pl>
Date
2021-12-18 22:16:18
Also in
kvm, linux-crypto, linux-mips, linux-mm, linux-perf-users, linux-riscv, linux-s390, linuxppc-dev, lkml
Reply to
Yury Norov, 2021-12-18
On Sat, Dec 18, 2021 at 01:19:57PM -0800, Yury Norov wrote:
Don't call bitmap_weight() if the following code can get by
without it.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
---
 drivers/net/dsa/b53/b53_common.c           | 6 +-----
 drivers/net/ethernet/broadcom/bcmsysport.c | 6 +-----
 drivers/thermal/intel/intel_powerclamp.c   | 9 +++------
 3 files changed, 5 insertions(+), 16 deletions(-)
[...]

Looks good, but I think this needs to be split per subsystem.

Best Regards
Micha³ Miros³aw
Thread (20 messages) 20 messages, 2 authors, last reply 2021-12-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help