HomeFreeBSD

ixgbe(4): Eliminate bogus sizeof() expressions

Description

ixgbe(4): Eliminate bogus sizeof() expressions

All of these uses of sizeof() were on the wrong type in relation to the pointer
passed to SYSCTL_ADD_PROC as arg1. Fortunately, none of the handlers actually
use arg2. So just don't pass a (non-zero) arg2.

Reported by: Coverity
CID: 1007701

Details

Provenance
cemAuthored on
Parents
rS357246: qmath(3) test: Replace overcomplicated abomination with arc4random(3)
Branches
Unknown
Tags
Unknown