Re: [PATCH] libata/ahci: accommodate tag ordered controllers

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

 



Hello, Dan.

On Mon, Mar 31, 2014 at 11:35:14AM -0700, Dan Williams wrote:
...
> +	for (i = 0; i < ATA_MAX_QUEUE; i++) {
> +		tag = (i + ap->tag_order) & (ATA_MAX_QUEUE - 1);

Can you please change the last modular to % ATA_MAX_QUEUE?

Thanks.

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




[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