]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2: Fix condition.
authorDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:56:08 +0000 (16:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:56:08 +0000 (16:56 -0800)
commitb0aae0bde26f276401640e05e81a8a0ce3d8f70e
tree9c5d49219d8b23b352e043fcdcbf2acaead4138f
parent4b47ad0079f064a5b62c23e6301d034203bcc32e
octeontx2: Fix condition.

Fixes: 93efb0c656837 ("octeontx2-pf: Fix out-of-bounds read in otx2_get_fecparam()")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c