diff options
author | Varun Prakash <varun@chelsio.com> | 2019-04-03 14:00:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-05 02:40:26 +0200 |
commit | cc5a726c79158bd307150e8d4176ec79b52001ea (patch) | |
tree | d43f805f73808843d10e7d5bfaa03e8983c9fdc4 /drivers/net/bonding/bond_options.c | |
parent | vlan: conditional inclusion of FCoE hooks to match netdevice.h and bnx2x (diff) | |
download | linux-cc5a726c79158bd307150e8d4176ec79b52001ea.tar.xz linux-cc5a726c79158bd307150e8d4176ec79b52001ea.zip |
libcxgb: fix incorrect ppmax calculation
BITS_TO_LONGS() uses DIV_ROUND_UP() because of
this ppmax value can be greater than available
per cpu page pods.
This patch removes BITS_TO_LONGS() to fix this
issue.
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_options.c')
0 files changed, 0 insertions, 0 deletions