projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87bd33
)
Fix ahci driver 'flags' type
author
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:56:36 +0000
(10:56 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:56:36 +0000
(10:56 -0700)
The new type checking of the flags arguments to irqsave and friends
(commit
3f307891ce0e7b0438c432af1aacd656a092ff45
) pointed out this thing
with a big nice warning.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/ahci.c
patch
|
blob
|
history
diff --git
a/drivers/ata/ahci.c
b/drivers/ata/ahci.c
index dc7596f028b69437d8e833a688e15142c97675c8..ef3e5522e1a4a41979ff5ec56b72ed860d004275 100644
(file)
--- a/
drivers/ata/ahci.c
+++ b/
drivers/ata/ahci.c
@@
-1273,7
+1273,7
@@
static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state,
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;