mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
i40e: Add missing braces to i40e_dcb_need_reconfig()
Indentation mismatch spotted with Coverity. Introduced in 4e3b35b044ea ("i40e: add DCB and DCBNL support") Signed-off-by: Dave Jones <davej@fedoraproject.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cefe0078ee
commit
3d9667a9e1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user