Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e1af14e4b3d5f2a348987e3069ec835b782782b0
Commit:     e1af14e4b3d5f2a348987e3069ec835b782782b0
Parent:     f8d1c94b346b62747322728e00e11f552cd90902
Author:     Roel Kluin <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 2 21:07:38 2008 +0100
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu Feb 7 00:42:08 2008 -0500

    asus-laptop: add parentheses
    
    '!' has a higher priority than '&': bitanding has no effect.
    
    Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/misc/asus-laptop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c
index 34666ff..3bd8831 100644
--- a/drivers/misc/asus-laptop.c
+++ b/drivers/misc/asus-laptop.c
@@ -327,7 +327,7 @@ static void write_status(acpi_handle handle, int out, int 
mask)
 
        switch (mask) {
        case MLED_ON:
-               out = !out & 0x1;
+               out = !(out & 0x1);
                break;
        case GLED_ON:
                out = (out & 0x1) + 1;
-
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