[Intel-wired-lan] [PATCH] i40e: Fix i40e_print_features() VEB mode output
Jeff Kirsher
jeffrey.t.kirsher at intel.com
Wed Dec 2 09:56:55 UTC 2015
On Wed, 2015-12-02 at 00:38 -0800, Joe Perches wrote:
> 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:
>
> o Remove unnecessary string variable
> o Add space before not after fixed strings
> o Use kmalloc not kzalloc
> o Don't initialize i to 0, use result of first snprintf
>
> Noticed-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
Don't you mean Reported-by? I am not aware of Noticed-by as being a
recognized signature.
> Signed-off-by: Joe Perches <joe at perches.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_main.c | 42 +++++++++++++----
> ------------
> 1 file changed, 19 insertions(+), 23 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20151202/7301bf93/attachment-0001.asc>
More information about the Intel-wired-lan
mailing list