Skip to content
Commit 7e041abf authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

tty: ipwireless: Fix probable mask then right shift defects



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: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarDavid Sterba <dsterba@suse.cz>
Reviewed-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f0fd1b73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment