]> 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)
commit3df29c27c3c4809dc3fb5aa999c1604045e08e99
tree86e36eb672ef44554d30fcc825eaa16d5bfbd192
parentcbb2decaae3fcaa317d3976dea6cb461e282b960
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