[Intel-wired-lan] [net-next v2] i40e: Fix i40e_print_features() VEB mode output
David Miller
davem at davemloft.net
Thu Dec 3 16:49:46 UTC 2015
From: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
Date: Thu, 3 Dec 2015 04:20:57 -0800
> From: Joe Perches <joe at perches.com>
>
> 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 at cogentembedded.com>
> Signed-off-by: Joe Perches <joe at perches.com>
> ---
> v2: fixed patch conflicts when trying to apply to my next-queue tree
> (dev-queue branch), also fixed "Noticed-by" to the more acceptable
> "Reported-by"
Applied, thanks.
More information about the Intel-wired-lan
mailing list