Re: [PATCH 09/11] tty: ipwireless: Fix probable mask then right shift defects
From: David Sterba
Date: Mon Oct 27 2014 - 09:18:40 EST
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@xxxxxxxxxxx>
Acked-by: David Sterba <dsterba@xxxxxxx>
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/