fm10k: demote BUG_ON() to WARN_ON() where appropriate
authorBruce Allan <[email protected]>
Tue, 22 Dec 2015 22:55:20 +0000 (14:55 -0800)
committerJeff Kirsher <[email protected]>
Tue, 5 Apr 2016 19:44:36 +0000 (12:44 -0700)
commit838e6102920a288a88f5bba10784ab10b2f2eb3e
tree75f6d43978e12ccd5a02ba481040e0dc50c3632c
parentfcdb0a9951d8a5edfc47e89a7fe62457c25e18c4
fm10k: demote BUG_ON() to WARN_ON() where appropriate

We don't need to crash the kernel in this instance so just warn about the
condition and play on.

Signed-off-by: Bruce Allan <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c