summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2021-11-14 19:08:17 +0300
committerHelge Deller <deller@gmx.de>2021-11-17 13:04:02 +0300
commitbec05f33ebc1006899c6d3e59a00c58881fe7626 (patch)
treed9e689d617b6da36ee67cdcfea573fe3fc17c2e0 /arch/parisc/include/asm
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
downloadlinux-bec05f33ebc1006899c6d3e59a00c58881fe7626.tar.xz
parisc/sticon: fix reverse colors
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>
Diffstat (limited to 'arch/parisc/include/asm')
0 files changed, 0 insertions, 0 deletions