Re: [PATCH] Fix testing and setting set_options bitmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 25 2015, Akinobu Mita wrote:
> set_options bitmap is an array of uint64_t.  But while testing and
> setting a bit in the bitmap, the bit mask is calculated with an
> unsigned long value.  For the systems which have 32-bit long type,
> upper 32-bit cannot be set correctly.
> 
> Fix it by using (uint64_t)1 instead of 1UL to calculate correct bit
> mask.

Thanks, applied.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux