git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/bnxt: refactor async event handling
[dpdk.git]
/
drivers
/
net
/
octeontx2
/
otx2_ethdev_ops.c
diff --git
a/drivers/net/octeontx2/otx2_ethdev_ops.c
b/drivers/net/octeontx2/otx2_ethdev_ops.c
index
6f0cdc5
..
5a45012
100644
(file)
--- a/
drivers/net/octeontx2/otx2_ethdev_ops.c
+++ b/
drivers/net/octeontx2/otx2_ethdev_ops.c
@@
-453,7
+453,7
@@
otx2_nix_fw_version_get(struct rte_eth_dev *eth_dev, char *fw_version,
rc = strlcpy(fw_version, (char *)dev->mkex_pfl_name, rc);
rc += 1; /* Add the size of '\0' */
- if (fw_size < (
uint32
_t)rc)
+ if (fw_size < (
size
_t)rc)
return rc;
return 0;