]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:36:35 +0000 (17:36 -0700)
commit9953d2ea3eb27754a848431bbfc863aa438c68a5
treeba5ff3287337fbea83826dca4d2f6b5776630df9
parent899959a936a4069427d418e3a4a4ffa0d15f7441
bnxt_en: Fix bitmap declaration to work on 32-bit arches.

Orabug: 23221795

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>
(cherry picked from commit de68f5de56512a2ff5d5810ef4d54c53470c3c45)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c