HomeFreeBSD

cxgbe: replace zero sized array by flexible array

Description

cxgbe: replace zero sized array by flexible array

The issue was found while building cxgbe with gcc 10 (in illumos),
the array subscription check is warning us about outside the bounds
access.

See also: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html

Details

Provenance
tsoomeAuthored on Dec 29 2020, 8:59 PM
Parents
rG3db1b221edab: Set stdout & stderr unbuffered, so that the "telnet>" prompt
Branches
Unknown
Tags
Unknown