diff options
| author | Levente Kurusa <levex@linux.com> | 2014-02-15 01:50:23 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-16 00:32:55 +0400 |
| commit | ec97423afbd09c566fc3e756b4a6b50695dda0af (patch) | |
| tree | da7121bf310ff2104024028f244579ad4b680af2 /include/linux/stackprotector.h | |
| parent | a37d70eb655fdcbcd93b053d11b569cc7b1787eb (diff) | |
| download | linux-ec97423afbd09c566fc3e756b4a6b50695dda0af.tar.xz | |
staging: rtl8821ae: fix invalid bit mask on MSR_AP check
Since MSR_AP is 0x3, ANDing it with 0xFC will never be true.
Add a NOT operation to 0xFC so that we will AND with the last
three bits which will result in a possibility that the condition
will succeed.
Signed-off-by: Levente Kurusa <levex@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
