commit | b429dd5998d6037e0057564f3894f56aff64d661 | [log] [tgz] |
---|---|---|
author | Justin P. Mattock <justinmattock@gmail.com> | Sat Jul 03 07:29:25 2010 -0700 |
committer | Jeff Garzik <jgarzik@redhat.com> | Sun Aug 01 19:36:03 2010 -0400 |
tree | 1d1074e068a47c8ee9e0d37d5df27c904fab2ef3 | |
parent | acad76272c6df8ea1900da334764c05a528598c3 [diff] |
[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>