[Intel-wired-lan] [PATCH] i40e: Fix i40e_print_features() VEB mode output
jeffrey.t.kirsher at intel.com
Thu Dec 3 12:13:46 UTC 2015
On Wed, 2015-12-02 at 00:38 -0800, Joe Perches wrote:
> Commit 7fd89545f337 ("i40e: remove BUG_ON from feature string
> added defective output when I40E_FLAG_VEB_MODE_ENABLED was set in
> function i40e_print_features.
> Fix it.
> 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>
> 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(-)
Your patch does not apply cleanly, it appears you used Dave's net-next
tree to generate your patch, versus my next-queue tree (dev-queue
branch) which has a number of i40e patches already applied.
As a one-time only reminder, I have gone ahead and applied your patch
by hand. I will send your updated patch out here in just a minute.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part
More information about the Intel-wired-lan