This is a note to let you know that I've just added the patch titled

    tty: moxa: fix bit test in moxa_start()

to the 3.3-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     tty-moxa-fix-bit-test-in-moxa_start.patch
and it can be found in the queue-3.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 58112dfbfe02d803566a2c6c8bd97b5fa3c62cdc Mon Sep 17 00:00:00 2001
From: Dan Carpenter <[email protected]>
Date: Wed, 7 Mar 2012 13:05:00 +0300
Subject: tty: moxa: fix bit test in moxa_start()

From: Dan Carpenter <[email protected]>

commit 58112dfbfe02d803566a2c6c8bd97b5fa3c62cdc upstream.

This is supposed to be doing a shift before the comparison instead of
just doing a bitwise AND directly.  The current code means the start()
just returns without doing anything.

Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Jiri Slaby <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/tty/moxa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/tty/moxa.c
+++ b/drivers/tty/moxa.c
@@ -1331,7 +1331,7 @@ static void moxa_start(struct tty_struct
        if (ch == NULL)
                return;
 
-       if (!(ch->statusflags & TXSTOPPED))
+       if (!test_bit(TXSTOPPED, &ch->statusflags))
                return;
 
        MoxaPortTxEnable(ch);


Patches currently in stable-queue which might be from [email protected] 
are

queue-3.3/usb-dwc3-make-dwc3_get_device_id-return-the-id.patch
queue-3.3/tty-moxa-fix-bit-test-in-moxa_start.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to