]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix bitmap declaration to work on 32-bit arches.
authorMichael Chan <mchan@broadcom.com>
Thu, 10 Dec 2015 00:35:41 +0000 (19:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 04:34:05 +0000 (23:34 -0500)
commitc6ab1ce5d5351a6cc25ee707d14785cce2ad8aa9
tree86e36eb672ef44554d30fcc825eaa16d5bfbd192
parentc63713dacbe9ee1039888cce304f96b6024ef94c
bnxt_en: Fix bitmap declaration to work on 32-bit arches.

The declaration of the bitmap vf_req_snif_bmap using fixed array of
unsigned long will only work on 64-bit archs.  Use DECLARE_BITMAP instead
which will work on all archs.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c