Re: [PATCH v3 4/8] null_blk: Suppress an UBSAN complaint triggered when setting 'memory_backed'

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

 



On 2/20/20 7:23 PM, Bart Van Assche wrote:
> Although it is not clear to me why UBSAN complains when 'memory_backed'
> is set, this patch suppresses the UBSAN complaint that is triggered when
> setting that configfs attribute.
Is it due to "An uninitialized bool will have indeterminate value and using

an indeterminate value is undefined behavior." ?

In any case, this patch looks good to me.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux