diff options
| author | Andrew Rybchenko <arybchik@FreeBSD.org> | 2018-11-30 07:08:16 +0000 |
|---|---|---|
| committer | Andrew Rybchenko <arybchik@FreeBSD.org> | 2018-11-30 07:08:16 +0000 |
| commit | a10539aa18dca24fa13efadf3354f87a96b8b0d9 (patch) | |
| tree | f76901814008343e13fb631fafa05342c74beef9 /sys/dev/sfxge | |
| parent | 1ad53cbf7e1ba530b2060949e00f3e114bf56441 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sfxge')
| -rw-r--r-- | sys/dev/sfxge/common/efx_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/common/efx_phy.c b/sys/dev/sfxge/common/efx_phy.c index 88a32c26abe7..8d5a34757466 100644 --- a/sys/dev/sfxge/common/efx_phy.c +++ b/sys/dev/sfxge/common/efx_phy.c @@ -326,7 +326,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; } |
