diff options
| author | Joe Perches <[email protected]> | 2015-12-03 12:20:57 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-03 16:47:36 +0000 |
| commit | 3b195843f59b8aefdc15c689615745bf6758756c (patch) | |
| tree | 9994c7e889d17b0c9bf904f2a667c84f6e04ed12 /lib/netdev-notifier-error-inject.c | |
| parent | Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirshe... (diff) | |
| download | kernel-3b195843f59b8aefdc15c689615745bf6758756c.tar.gz kernel-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 <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
