Files
linux/drivers/net/ethernet/chelsio/libcxgb
Varun Prakash 57186663b3 libcxgb: fix incorrect ppmax calculation
[ Upstream commit cc5a726c79 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-08 07:21:50 +02:00
..