HomeFreeBSD

cxgbe(4): Fix control flow issues reported by Coverity.

Description

cxgbe(4): Fix control flow issues reported by Coverity.

CID 1487932: Control flow issues (NESTING_INDENT_MISMATCH).
The macro on this line expands into multiple statements, only the first
of which is nested within the preceding parent while the rest are not.
9828 ulp_region(RX_TLS_KEY);

Reported by: Coverity (CID 1487932)
Fixes: f88b31885c4 cxgbe(4): meminfo should get the TLS region's limits from the hardware.
Sponsored by: Chelsio Communications

(cherry picked from commit 239170f29210a21a68284dc967e57ed8047fb2ba)

Details

Provenance
npAuthored on Apr 14 2022, 7:17 AM
Parents
rGff802044d094: cxgbe/cxgbei: Allow max PDU payload lengths to be changed with a sysctl.
Branches
Unknown
Tags
Unknown