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:
1d82001
)
net/hns3: adjust format specifier for enum
author
Lijun Ou
<oulijun@huawei.com>
Fri, 22 Jan 2021 10:18:51 +0000
(18:18 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:12 +0000
(18:16 +0100)
Here uses %d as printing output for enumeration member.
Fixes:
c37ca66f2b27
("net/hns3: support RSS")
Cc: stable@dpdk.org
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_flow.c
patch
|
blob
|
history
diff --git
a/drivers/net/hns3/hns3_flow.c
b/drivers/net/hns3/hns3_flow.c
index
e9d0a0b
..
3e387ac
100644
(file)
--- a/
drivers/net/hns3/hns3_flow.c
+++ b/
drivers/net/hns3/hns3_flow.c
@@
-1447,7
+1447,7
@@
hns3_parse_rss_algorithm(struct hns3_hw *hw, enum rte_eth_hash_function *func,
*hash_algo = HNS3_RSS_HASH_ALGO_SYMMETRIC_TOEP;
break;
default:
- hns3_err(hw, "Invalid RSS algorithm configuration(%
u
)",
+ hns3_err(hw, "Invalid RSS algorithm configuration(%
d
)",
algo_func);
return -EINVAL;
}