New upstream version 17.11.5
[deb_dpdk.git] / drivers / net / sfc / base / efx_phy.c
index 752cd52..af1ad98 100644 (file)
@@ -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 > 0xff) {
+       if ((uint32_t)offset + len > 0x100) {
                rc = EINVAL;
                goto fail1;
        }