fm10k: demote BUG_ON() to WARN_ON() where appropriate
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 22 Dec 2015 22:55:20 +0000 (14:55 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
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 <bruce.w.allan@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c