Re: [PATCH 2/2] ufshcd: use an enum for quirks

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

 



On 2/18/20 3:44 PM, Christoph Hellwig wrote:
Use an enum to specify the various quirks instead of #defines inside
the structure definition.

Hi Christoph,

Although this patch looks like a significant improvement to me: has it been considered to change 'quirks' from an unsigned int into a bitfield with one bit per quirk? I think that would allow to remove multiple explicit bit manipulations from the UFS driver.

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux