Commit b429dd5998d6037e0057564f3894f56aff64d661
Committed by
Jeff Garzik
1 parent
acad76272c
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/ata/ahci.c