Re: [PATCH v3 3/3] ata: libata: Print horkages applied to devices

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

 



On 7/23/24 09:28, Robin H. Johnson wrote:
> On Tue, Jul 23, 2024 at 08:10:01AM +0900, Damien Le Moal wrote:
>>>
>>> Should this check be '__ATA_HORKAGE_MAX > 32'?
>>>
>>> When __ATA_HORKAGE_MAX is 32 then the last horkage bit will be 31.
> Do we need to save that last bit for a future expansion? ATA_HORKAGE2?

I do not think so. When/if we end up adding horkage bits beyond 32, we can
simply convert from an unsigned int to an u64 or a bitfield (bitmap).

-- 
Damien Le Moal
Western Digital Research





[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux