Re: [patch] net/input: fix net/rfkill/rfkill-input.c bug on 64-bitsystems

From: David Miller
Date: Sat Jul 14 2007 - 21:50:35 EST


From: Ingo Molnar <mingo@xxxxxxx>
Date: Thu, 12 Jul 2007 14:45:03 +0200

> From: Ingo Molnar <mingo@xxxxxxx>
> Subject: [patch] net/input: fix net/rfkill/rfkill-input.c bug on 64-bit systems
>
> this recent commit:
>
> commit cf4328cd949c2086091c62c5685f1580fe9b55e4
> Author: Ivo van Doorn <IvDoorn@xxxxxxxxx>
> Date: Mon May 7 00:34:20 2007 -0700
>
> [NET]: rfkill: add support for input key to control wireless radio
>
> added this 64-bit bug:
>
> ....
> unsigned int flags;
>
> spin_lock_irqsave(&task->lock, flags);
> ....
>
> irq 'flags' must be unsigned long, not unsigned int. The -rt tree has
> strict checks about this on 64-bit so this triggered a build failure.
>
> For -stable too i suspect.
>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Applied, thanks Ingo.

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