diff options
author | Joe Perches <joe@perches.com> | 2014-10-26 22:25:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-05 20:06:33 -0800 |
commit | 7e041abf79c1b555b9d117d4a319b505ee601f55 (patch) | |
tree | 5e412b550dc16ddaff8cfcf881ca4936988f84e5 /drivers/tty/rocket_int.h | |
parent | f0fd1b73b0f3589ff90582fbbb5eedc149caefab (diff) |
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: Joe Perches <joe@perches.com>
Acked-by: David Sterba <dsterba@suse.cz>
Reviewed-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/rocket_int.h')
0 files changed, 0 insertions, 0 deletions