i40e: Add safety net for switch calling
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tue, 24 Feb 2015 06:58:42 +0000 (06:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Mar 2015 09:07:24 +0000 (01:07 -0800)
commit579b23d8dc4c9d9a87b58cecc9ffdf326aca7b28
tree7802ae0882896387b8e5250aa88d89d944888c59
parent7edf810c61ce054afc8798178d829d2f139bb976
i40e: Add safety net for switch calling

This patch adds default case to handle unmatched switch calls.

Change-ID: Icd203570a1dc5322c1038f68b98a83195e8ad28c
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c