summaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-12-03 04:20:57 -0800
committerDavid S. Miller <davem@davemloft.net>2015-12-03 11:47:36 -0500
commit3b195843f59b8aefdc15c689615745bf6758756c (patch)
tree9994c7e889d17b0c9bf904f2a667c84f6e04ed12 /lib/netdev-notifier-error-inject.c
parent68e14a48fe70ed958d0d943c8f0c23112632c437 (diff)
downloadlinux-3b195843f59b8aefdc15c689615745bf6758756c.tar.gz
linux-3b195843f59b8aefdc15c689615745bf6758756c.tar.bz2
linux-3b195843f59b8aefdc15c689615745bf6758756c.zip
i40e: Fix i40e_print_features() VEB mode output
Commit 7fd89545f337 ("i40e: remove BUG_ON from feature string building") added defective output when I40E_FLAG_VEB_MODE_ENABLED was set in function i40e_print_features. Fix it. Miscellanea: - Remove unnecessary string variable - Add space before not after fixed strings - Use kmalloc not kzalloc - Don't initialize i to 0, use result of first snprintf Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions