Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e6c9116d1dc984cb7ecf1b0fe26ca4a8ab36bb57
Commit:     e6c9116d1dc984cb7ecf1b0fe26ca4a8ab36bb57
Parent:     8d9107e8c50e1c4ff43c91c8841805833f3ecfb9
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Sat Jul 14 18:50:15 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sat Jul 14 18:50:15 2007 -0700

    [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 <[EMAIL PROTECTED]>
     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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/rfkill/rfkill-input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/rfkill/rfkill-input.c b/net/rfkill/rfkill-input.c
index e5c840c..230e35c 100644
--- a/net/rfkill/rfkill-input.c
+++ b/net/rfkill/rfkill-input.c
@@ -55,7 +55,7 @@ static void rfkill_task_handler(struct work_struct *work)
 
 static void rfkill_schedule_toggle(struct rfkill_task *task)
 {
-       unsigned int flags;
+       unsigned long flags;
 
        spin_lock_irqsave(&task->lock, flags);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to