projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cefe007
)
i40e: Add missing braces to i40e_dcb_need_reconfig()
author
Dave Jones
<davej@redhat.com>
Tue, 28 Jan 2014 04:11:09 +0000
(23:11 -0500)
committer
David S. Miller
<davem@davemloft.net>
Tue, 28 Jan 2014 04:17:31 +0000
(20:17 -0800)
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>
drivers/net/ethernet/intel/i40e/i40e_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/i40e/i40e_main.c
b/drivers/net/ethernet/intel/i40e/i40e_main.c
index
a4b9408
..
b901371
100644
(file)
--- a/
drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/
drivers/net/ethernet/intel/i40e/i40e_main.c
@@
-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;
}