Messages in this thread Patch in this message | | | Date | Mon, 14 Jul 2008 21:23:18 +0900 | From | KOSAKI Motohiro <> | Subject | [mmotm] ahci: fix incompatible type warnings |
| |
Patch title: fix-ahci-flags-incompatible-type.patch Against: mmotm Jul 14 Applies after: linux-next.patch
spin_lock_irqsave() require unsined long.
drivers/ata/ahci.c: In function 'ahci_transmit_led_message': drivers/ata/ahci.c:1287: warning: comparison of distinct pointer types lacks a cast drivers/ata/ahci.c:1295: warning: comparison of distinct pointer types lacks a cast drivers/ata/ahci.c:1320: warning: comparison of distinct pointer types lacks a cast
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Hugh Dickins <hugh@veritas.com> CC: Kristen Carlson Accardi <kristen.c.accardi@intel.com> CC: Jeff Garzik <jgarzik@redhat.com>
--- drivers/ata/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/drivers/ata/ahci.c =================================================================== --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -1270,7 +1270,7 @@ static ssize_t ahci_transmit_led_message void __iomem *mmio = ap->host->iomap[AHCI_PCI_BAR]; u32 em_ctl; u32 message[] = {0, 0}; - unsigned int flags; + unsigned long flags; int pmp; struct ahci_em_priv *emp;
| |