Re: [PATCH 14/16] blk-mq: pass a flags argument to blk_mq_insert_request

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

 



On Tue, Apr 11, 2023 at 11:11:51AM -0700, Bart Van Assche wrote:
>> +#define BLK_MQ_INSERT_AT_HEAD		(1U << 0)
>
> Has it been considered to introduce a new bitwise type for this flag? That 
> would allow sparse to detect accidental conversions from bool into flag and 
> vice versa.

I did think about it, but decided not to bother.  But now that there's
a request for it I'll add it.



[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