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:
df21234
)
net/ice: fix PCI DSN to lowercase
author
Haiyue Wang
<haiyue.wang@intel.com>
Thu, 28 May 2020 05:39:13 +0000
(13:39 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 2 Jun 2020 10:46:44 +0000
(12:46 +0200)
The PCI DSN (device serial number) to format package file name should be
lowercase values.
Fixes:
d1c91179e952
("net/ice: check DSN package file firstly")
Cc: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_dcf_parent.c
patch
|
blob
|
history
diff --git
a/drivers/net/ice/ice_dcf_parent.c
b/drivers/net/ice/ice_dcf_parent.c
index
bdfc7d4
..
d13e19d
100644
(file)
--- a/
drivers/net/ice/ice_dcf_parent.c
+++ b/
drivers/net/ice/ice_dcf_parent.c
@@
-242,13
+242,13
@@
ice_dcf_request_pkg_name(struct ice_hw *hw, char *pkg_name)
rte_memcpy(&dsn, pkg_info.dsn, sizeof(dsn));
snprintf(pkg_name, ICE_MAX_PKG_FILENAME_SIZE,
- ICE_PKG_FILE_SEARCH_PATH_UPDATES "ice-%016ll
X
.pkg",
+ ICE_PKG_FILE_SEARCH_PATH_UPDATES "ice-%016ll
x
.pkg",
(unsigned long long)dsn);
if (!access(pkg_name, 0))
return 0;
snprintf(pkg_name, ICE_MAX_PKG_FILENAME_SIZE,
- ICE_PKG_FILE_SEARCH_PATH_DEFAULT "ice-%016ll
X
.pkg",
+ ICE_PKG_FILE_SEARCH_PATH_DEFAULT "ice-%016ll
x
.pkg",
(unsigned long long)dsn);
if (!access(pkg_name, 0))
return 0;