]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[RFKILL]: fix net/rfkill/rfkill-input.c bug on 64-bit systems
authorIngo Molnar <mingo@elte.hu>
Sun, 15 Jul 2007 01:50:15 +0000 (18:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Jul 2007 01:50:15 +0000 (18:50 -0700)
commite6c9116d1dc984cb7ecf1b0fe26ca4a8ab36bb57
tree4097167cef775da1006b762f30ceff323ccf6071
parent8d9107e8c50e1c4ff43c91c8841805833f3ecfb9
[RFKILL]: fix net/rfkill/rfkill-input.c bug on 64-bit systems

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@gmail.com>
 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.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rfkill/rfkill-input.c