diff options
| author | Sven Schnelle <svens@stackframe.org> | 2021-11-14 19:08:17 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 11:48:46 +0300 |
| commit | a1c9455f10bedd84ec1d3d420ad1dafd6f187090 (patch) | |
| tree | e3c7a1fa0f00da44cc3d9cd472c06ae4ce1795e1 /include/linux/debugobjects.h | |
| parent | 61b26492e7d18aadd4c54e64bd45c1f7c056973c (diff) | |
| download | linux-a1c9455f10bedd84ec1d3d420ad1dafd6f187090.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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
