]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:51 +0000 (22:03 -0800)
commitac63e51b5ea0341f178a93e03e4cf234c44e1734
treee82f534c6998ee2abae84a201265b4ba7cafcae3
parent0c49f0d3068b073bdb417bf4aa886c2f49de3187
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>
Orabug: 25394529
(cherry picked from commit 838e6102920a288a88f5bba10784ab10b2f2eb3e)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c