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:
parent
ffd5007338
commit
a9579a78e2
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user