commit | cc5a726c79158bd307150e8d4176ec79b52001ea | [log] [tgz] |
---|---|---|
author | Varun Prakash <varun@chelsio.com> | Wed Apr 03 17:30:14 2019 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 04 17:40:26 2019 -0700 |
tree | d43f805f73808843d10e7d5bfaa03e8983c9fdc4 | |
parent | 0a89eb92d8c335da92bd5f54d8463b87dd440d45 [diff] |
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>