linux/drivers/net/ethernet/intel/i40e
Shannon Nelson 7fd89545f3 i40e: remove BUG_ON from feature string building
There's really no reason to kill the kernel thread just because of a
little info string. This reworks the code to use snprintf's limiting to
assure that the string is never too long, and WARN_ON to still put out
a warning that we might want to look at the feature list length.

Prompted by a recent Linus diatribe.

Change-ID: If52ba5ca1c2344d8bf454a31bbb805eb5d2c5802
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-11-25 10:05:55 -08:00
..
i40e_adminq_cmd.h i40e: Add support for non-willing Apps 2015-10-16 04:48:11 -07:00
i40e_adminq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-20 06:08:27 -07:00
i40e_adminq.h i40e/i40evf: fix a potential type compare issue 2015-10-07 13:38:11 -07:00
i40e_alloc.h
i40e_common.c i40e: re-use %*ph specifier to hexdump a data 2015-10-23 05:22:13 -07:00
i40e_dcb_nl.c i40e: Change some messages from info to debug only 2015-10-15 01:58:41 -07:00
i40e_dcb.c i40e: Convert CEE App TLV selector to IEEE selector 2015-10-13 23:27:37 -07:00
i40e_dcb.h i40e: Add parsing for CEE DCBX TLVs 2015-10-08 15:11:38 -07:00
i40e_debugfs.c intel: i40e: fix confused code 2015-11-23 11:08:52 -08:00
i40e_devids.h i40e/i40evf: split device ids into a separate file 2015-10-13 23:37:13 -07:00
i40e_diag.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_diag.h
i40e_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-24 06:54:12 -07:00
i40e_fcoe.c i40e: Lock for VSI's MAC filter list 2015-10-19 15:15:08 -07:00
i40e_fcoe.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_hmc.c i40e: clean up unneeded gotos 2015-07-23 05:15:26 -07:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_lan_hmc.h
i40e_main.c i40e: remove BUG_ON from feature string building 2015-11-25 10:05:55 -08:00
i40e_nvm.c i40e: fix unconditional execution of cpu_to_le16() 2015-10-23 05:40:49 -07:00
i40e_osdep.h move io-64-nonatomic*.h out of asm-generic 2015-10-15 00:21:07 +02:00
i40e_prototype.h i40e/i40evf: Add a workaround to drop all flow control frames 2015-10-23 04:17:55 -07:00
i40e_ptp.c i40e: generate fewer startup messages 2015-10-16 04:36:13 -07:00
i40e_register.h i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag 2015-08-26 15:09:54 -07:00
i40e_status.h
i40e_txrx.c i40e/i40evf: remove unused tunnel parameter 2015-11-25 10:05:54 -08:00
i40e_txrx.h i40e/i40evf: adjust interrupt throttle less frequently 2015-10-19 15:35:12 -07:00
i40e_type.h i40e/i40evf: Fix an accidental error with BIT_ULL replacement 2015-10-19 15:35:45 -07:00
i40e_virtchnl_pf.c i40e: Disable VEB bridge mode with SR-IOV failure 2015-10-23 04:51:51 -07:00
i40e_virtchnl_pf.h i40e: reset the invalid msg counter in vf when a valid msg is received 2015-10-16 04:53:04 -07:00
i40e_virtchnl.h i40e/i40evf: Add WB_ON_ITR offload support 2015-10-15 02:03:29 -07:00
i40e.h i40e: Fix an incorrect OEM version string 2015-10-23 04:38:35 -07:00
Makefile i40e: Strip configfs code 2015-03-07 07:01:06 -08:00