* macmace: use "unsigned long flags;"
@ 2007-07-06 14:57 Alexey Dobriyan
2007-07-10 16:42 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2007-07-06 14:57 UTC (permalink / raw)
To: jgarzik; +Cc: netdev, fthain
Code will do local_irq_save() on it.
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
---
drivers/net/macmace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/macmace.c
+++ b/drivers/net/macmace.c
@@ -577,7 +577,7 @@ static irqreturn_t mace_interrupt(int irq, void *dev_id)
struct mace_data *mp = netdev_priv(dev);
volatile struct mace *mb = mp->mace;
int intr, fs;
- unsigned int flags;
+ unsigned long flags;
/* don't want the dma interrupt handler to fire */
local_irq_save(flags);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: macmace: use "unsigned long flags;"
2007-07-06 14:57 macmace: use "unsigned long flags;" Alexey Dobriyan
@ 2007-07-10 16:42 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-07-10 16:42 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: netdev, fthain
Alexey Dobriyan wrote:
> Code will do local_irq_save() on it.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
> ---
>
> drivers/net/macmace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/net/macmace.c
> +++ b/drivers/net/macmace.c
> @@ -577,7 +577,7 @@ static irqreturn_t mace_interrupt(int irq, void *dev_id)
> struct mace_data *mp = netdev_priv(dev);
> volatile struct mace *mb = mp->mace;
> int intr, fs;
> - unsigned int flags;
> + unsigned long flags;
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-10 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 14:57 macmace: use "unsigned long flags;" Alexey Dobriyan
2007-07-10 16:42 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).