Home
last modified time | relevance | path

Searched hist:b429dd5998d6037e0057564f3894f56aff64d661 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dahci.cdiff b429dd5998d6037e0057564f3894f56aff64d661 Sat Jul 03 09:29:25 CDT 2010 Justin P. Mattock <justinmattock@gmail.com> [libata] ahci: Fix warning: comparison between 'enum <anonymous>' and 'enum <anonymous>'

The below patch casts ATA_MAX_QUEUE to int because GCC will
give a warning message about the two different enum blocks:
CC drivers/ata/ahci.o
drivers/ata/ahci.c: In function 'ahci_init_one':
drivers/ata/ahci.c:1045:2: warning: comparison between 'enum <anonymous>' and 'enum <anonymous>'

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>