]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt: initialize board_info values with proper enums
authorScott Branden <scott.branden@broadcom.com>
Mon, 28 Aug 2017 17:40:29 +0000 (13:40 -0400)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 9 Mar 2018 04:49:34 +0000 (20:49 -0800)
commit17e439d0e32d2ec649d8c00dad06fac537f5b00c
treed7e06d3adffa1fb212a6290d2290a903e4e7ecc1
parentccd41d4454732c59c2171eda053738143a127380
bnxt: initialize board_info values with proper enums

Orabug: 2764835527648339

initialize board_info values with proper enums for defensive programming
purposes.  This will avoid any errors of the enums being declared not
lining up with the board_info array.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 27573a7d905a49dc756fda9c0e148372136356e6)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c