net/txgbe: fix coverity issues
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net/txgbe: fix null pointer check orderdrivers/ | +4 | 0 replies | |
| 2/2 | net/txgbe: validate lane_num before GENMASK operationsdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] net/txgbe: fix coverity issues
This series fixes several Coverity issues reported against the txgbe driver in the 26.07-rc2 release.
Patch 1 fixes a REVERSE_INULL issue (CID 504601) in txgbe_dev_setup_link_alarm_handler_aml() by moving the null pointer check before the pointer dereference.
Patch 2 fixes INTEGER_OVERFLOW (CID 504602) and BAD_SHIFT issues (CIDs 504598, 504613) in the e56 backplane code by validating lane_num at the source in txgbe_e56_cl72_training() before any GENMASK operations are performed.
Zaiyu Wang (2):
net/txgbe: fix null pointer check order net/txgbe: validate lane_num before GENMASK operations
drivers/net/txgbe/base/txgbe_e56_bp.c | 6 +++++- drivers/net/txgbe/txgbe_ethdev.c | 7 ++++--- 2 files changed, 9 insertions(+), 4 deletions(-)
Signature · 1 line
2.21.0.windows.1