]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r340894
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Dec 2018 10:16:11 +0000 (10:16 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Dec 2018 10:16:11 +0000 (10:16 +0000)
commit3d7142a939ebc3b3e097bdbf9f4716178ae1b2c1
tree80c994e7e5c421fe123ee6ccf0acf41433e75f4d
parent45d7e63f13cbc8ffe883810d69cae210bf065a69
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@342506 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/mcdi_mon.c