summaryrefslogtreecommitdiff
path: root/drivers/ata/ata_generic.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2010-07-03 18:29:25 +0400
committerJeff Garzik <jgarzik@redhat.com>2010-08-02 03:36:03 +0400
commitb429dd5998d6037e0057564f3894f56aff64d661 (patch)
tree1d1074e068a47c8ee9e0d37d5df27c904fab2ef3 /drivers/ata/ata_generic.c
parentacad76272c6df8ea1900da334764c05a528598c3 (diff)
downloadlinux-b429dd5998d6037e0057564f3894f56aff64d661.tar.xz
[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>
Diffstat (limited to 'drivers/ata/ata_generic.c')
0 files changed, 0 insertions, 0 deletions