HomeFreeBSD

MFC r340894

Description

MFC r340894

sfxge(4): fix PreFAST static analysis warning (C6001)

Fix warning
"C6001: Using uninitialized memory '*sensor_maskp'"
which could occur when the npages argument to efx_mcdi_sensor_info()
is less than or equal to zero.

Submitted by: Andrew Lee <alee at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18128

Details

Provenance
arybchikAuthored on
Differential Revision
D18128: sfxge(4): fix PreFAST static analysis warning (C6001)
Parents
rS342505: MFC r340892
Branches
Unknown
Tags
Unknown