Re: [PATCH]ata:ahci.c Fix warning: comparison between 'enum <anonymous>' and 'enum <anonymous>'

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

 



On 06/29/2010 11:11 PM, Håkon Løvdal wrote:
On 30 June 2010 04:53, Justin P. Mattock<justinmattock@xxxxxxxxx>  wrote:
-       int n_ports, i, rc;
+       int n_ports, i, rc, sum = 32;

        VPRINTK("ENTER\n");

-       WARN_ON(ATA_MAX_QUEUE>  AHCI_MAX_CMDS);
+       WARN_ON(ATA_MAX_QUEUE>  sum);

Should'nt that rather be

        int n_ports, i, rc, sum = AHCI_MAX_CMDS;

?

BR Håkon Løvdal


I didnt even think todo that. I just rebuilt with that change, and all is good from the compiling stand point. should I resend?

Thanks for the help.

Justin P. Mattock
--
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