HomeFreeBSD

Cleanup: Change 1 used in bitshifts to 1ULL

Description

Cleanup: Change 1 used in bitshifts to 1ULL

Coverity complains about this. It is not a bug as long as we never shift
by more than 31, but it is not terrible to change the constants from 1
to 1ULL as clean up.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13914

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Sep 22 2022, 6:28 PM
GitHub <noreply@github.com>Committed on Sep 22 2022, 6:28 PM
Parents
rGc629f0bf62e3: Retire ZFS_TEARDOWN_TRY_ENTER_READ
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGe506a0ce40bd: Cleanup: Change 1 used in bitshifts to 1ULL (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Sep 22 2022, 6:28 PM