git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bbf650
)
net/bnxt: fix format specifier for unsigned int
author
Ajit Khaparde
<ajit.khaparde@broadcom.com>
Thu, 3 Dec 2020 19:17:14 +0000
(11:17 -0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:05 +0000
(16:03 +0100)
&device requires the %u format specifier not the %d specifier, as
&device is unsigned.
Fixes:
a46bbb57605b
("net/bnxt: update multi device design")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/tf_core/tf_core.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/tf_core/tf_core.c
b/drivers/net/bnxt/tf_core/tf_core.c
index
24d4909
..
3409cbb
100644
(file)
--- a/
drivers/net/bnxt/tf_core/tf_core.c
+++ b/
drivers/net/bnxt/tf_core/tf_core.c
@@
-82,7
+82,7
@@
tf_open_session(struct tf *tfp,
return rc;
TFP_DRV_LOG(INFO,
- "domain:%d, bus:%d, device:%
d
\n",
+ "domain:%d, bus:%d, device:%
u
\n",
parms->session_id.internal.domain,
parms->session_id.internal.bus,
parms->session_id.internal.device);