diff options
author | Sven Schnelle <svens@stackframe.org> | 2021-11-14 19:08:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 13:40:40 +0300 |
commit | b8615eb8dcdf53e42538ef6999b9dbbae951c089 (patch) | |
tree | 1c43572e137e8cfaba21d65b4afd84dc10d72d22 /mm/vmscan.c | |
parent | 804a9d239ae9cbe88e861a7cd62319cc6ec7b136 (diff) | |
download | linux-b8615eb8dcdf53e42538ef6999b9dbbae951c089.tar.xz |
parisc/sticon: fix reverse colors
commit bec05f33ebc1006899c6d3e59a00c58881fe7626 upstream.
sticon_build_attr() checked the reverse argument and flipped
background and foreground color, but returned the non-reverse
value afterwards. Fix this and also add two local variables
for foreground and background color to make the code easier
to read.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions