[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141027131831.GE22943@suse.cz>
Date: Mon, 27 Oct 2014 14:18:31 +0100
From: David Sterba <dsterba@...e.cz>
To: Joe Perches <joe@...ches.com>
Cc: linux-kernel@...r.kernel.org, Jiri Kosina <jkosina@...e.cz>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.cz>
Subject: Re: [PATCH 09/11] tty: ipwireless: Fix probable mask then right
shift defects
On Sun, Oct 26, 2014 at 10:25:05PM -0700, Joe Perches wrote:
> Precedence of & and >> is not the same and is not left to right.
> shift has higher precedence and should be done after the mask.
>
> Add parentheses around the masks.
>
> Signed-off-by: Joe Perches <joe@...ches.com>
Acked-by: David Sterba <dsterba@...e.cz>
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists