lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 14 Jul 2008 21:23:18 +0900
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Hugh Dickins <hugh@...itas.com>,
	Kristen Carlson Accardi <kristen.c.accardi@...el.com>,
	Jeff Garzik <jgarzik@...hat.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>
Cc:	kosaki.motohiro@...fujitsu.com
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@...fujitsu.com>
Signed-off-by: Hugh Dickins <hugh@...itas.com>
CC:  Kristen Carlson Accardi <kristen.c.accardi@...el.com>
CC: Jeff Garzik <jgarzik@...hat.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;
 



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ