commit | 276d43f0ae963312c0cd0e2b9a85fd11ac65dfcc | [log] [tgz] |
---|---|---|
author | Denis Bolotin <denis.bolotin@cavium.com> | Mon Nov 19 16:28:30 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 19 18:38:15 2018 -0800 |
tree | cf272477414f37549f142cd25b2c6d0d7071c3ad | |
parent | d7c60210a9d72210c9cf348f1221b2367b9c0bb4 [diff] |
qed: Fix bitmap_weight() check Fix the condition which verifies that only one flag is set. The API bitmap_weight() should receive size in bits instead of bytes. Fixes: b5a9ee7cf3be ("qed: Revise QM cofiguration") Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com> Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>