diff options
author | Sven Schnelle <svens@stackframe.org> | 2021-11-14 17:08:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 10:47:21 +0100 |
commit | ca9834a1148b64810fb2f73ce5a63e5f27edef2a (patch) | |
tree | 0208163681c51c8ba026dd6a1576abc8d3c3118d /scripts/recordmcount.c | |
parent | 670f6b3867c8f0f11e5097f353b164cecfec6179 (diff) | |
download | linux-stable-ca9834a1148b64810fb2f73ce5a63e5f27edef2a.tar.gz linux-stable-ca9834a1148b64810fb2f73ce5a63e5f27edef2a.tar.bz2 linux-stable-ca9834a1148b64810fb2f73ce5a63e5f27edef2a.zip |
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 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions