Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 17.11.5
[deb_dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
efx_phy.c
diff --git
a/drivers/net/sfc/base/efx_phy.c
b/drivers/net/sfc/base/efx_phy.c
index
752cd52
..
af1ad98
100644
(file)
--- a/
drivers/net/sfc/base/efx_phy.c
+++ b/
drivers/net/sfc/base/efx_phy.c
@@
-309,7
+309,7
@@
efx_phy_module_get_info(
EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
EFSYS_ASSERT(data != NULL);
- if ((uint32_t)offset + len > 0x
ff
) {
+ if ((uint32_t)offset + len > 0x
100
) {
rc = EINVAL;
goto fail1;
}