Skip to content

Commit

Permalink
i40e: Add missing braces to i40e_dcb_need_reconfig()
Browse files Browse the repository at this point in the history
Indentation mismatch spotted with Coverity.
Introduced in 4e3b35b ("i40e: add DCB and DCBNL support")

Signed-off-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dave Jones authored and David S. Miller committed Jan 28, 2014
1 parent cefe007 commit 3d9667a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/intel/i40e/i40e_main.c
Original file line number Diff line number Diff line change
@@ -4440,9 +4440,10 @@ bool i40e_dcb_need_reconfig(struct i40e_pf *pf,
/* Check if APP Table has changed */
if (memcmp(&new_cfg->app,
&old_cfg->app,
sizeof(new_cfg->app)))
sizeof(new_cfg->app))) {
need_reconfig = true;
dev_info(&pf->pdev->dev, "APP Table change detected.\n");
}

return need_reconfig;
}

0 comments on commit 3d9667a

Please sign in to comment.