44c01df173
shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
||
---|---|---|
.. | ||
g_raid_ctl.c | ||
g_raid_md_if.m | ||
g_raid_tr_if.m | ||
g_raid.c | ||
g_raid.h | ||
md_ddf.c | ||
md_ddf.h | ||
md_intel.c | ||
md_jmicron.c | ||
md_nvidia.c | ||
md_promise.c | ||
md_sii.c | ||
tr_concat.c | ||
tr_raid0.c | ||
tr_raid1.c | ||
tr_raid1e.c | ||
tr_raid5.c |