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 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
--
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