HomeFreeBSD

cxgbe(4): Do not ignore the return value of ifmedia_ioctl.

Description

cxgbe(4): Do not ignore the return value of ifmedia_ioctl.

This ensures that the driver reports an error instead of failing
silently when an invalid media is requested.

Reported by: Suhas Lokesha @ Chelsio
MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Jan 10 2022, 9:01 PM
Parents
rG94e6b3fee1e5: cxgbe(4): Fix build warning for LINT-NOIP.
Branches
Unknown
Tags
Unknown