commit | ac45bd93a5035c2f39c9862b8b6ed692db0fdc87 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat May 06 03:49:01 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon May 08 14:47:31 2017 -0400 |
tree | f610646749017ed71acfb859e0721038ec28d09e | |
parent | df5303a8aa9a0a6934f4cea7427f1edf771f21c2 [diff] |
bnxt_en: allocate enough space for ->ntp_fltr_bmap We have the number of longs, but we need to calculate the number of bytes required. Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>