sfxge(4): unsigned 1 should be shifted to produce bitmask

Found by lint on illumos.

Submitted by:   Garrett D'Amore <garrett at damore.org>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
This commit is contained in:
arybchik 2016-05-27 11:48:25 +00:00
parent ffd5007338
commit a9579a78e2

View File

@ -367,7 +367,7 @@ efx_mcdi_sensor_info_npages(
goto fail1;
}
} while (MCDI_OUT_DWORD(req, SENSOR_INFO_OUT_MASK) &
(1 << MC_CMD_SENSOR_PAGE0_NEXT));
(1U << MC_CMD_SENSOR_PAGE0_NEXT));
*npagesp = page;