summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-11-29 22:53:27 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-08 09:03:25 +0100
commitdde240695d97de12a5d9f8ebe520f8dd655d5b35 (patch)
tree9b5b6bf843c207d437f7f7fa8b3dca8b3ee8ec4f /include
parent3260b8d12057faa9f7428fc7a2709de1ad39f731 (diff)
net: marvell: mvpp2: Fix the computation of shared CPUs
commit b83f5ac7d922e69a109261f5f940eebbd4e514c4 upstream. 'bitmap_fill()' fills a bitmap one 'long' at a time. It is likely that an exact number of bits is expected. Use 'bitmap_set()' instead in order not to set unexpected bits. Fixes: e531f76757eb ("net: mvpp2: handle cases where more CPUs are available than s/w threads") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions