tty: synclink_cs: Use bitwise instead of arithmetic operator for flags
authorHaowen Bai <baihaowen@meizu.com>
Mon, 21 Mar 2022 07:12:37 +0000 (15:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 17:42:40 +0000 (19:42 +0200)
commitc50c29a806113614098efd8da9fd7b48d605ba45
treee3770155a94f64f3f1a61eb444824d504ee28412
parent0b4efcb1b55c6784f54455065e55e268a2d9a0f3
tty: synclink_cs: Use bitwise instead of arithmetic operator for flags

This silences the following coccinelle warning:
drivers/s390/char/tape_34xx.c:360:38-39: WARNING: sum of probable bitmasks, consider |

we will try to make code cleaner

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1647846757-946-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/pcmcia/synclink_cs.c