OSDN Git Service

tty: synclink_gt: use true,false for bool variable
authorZheng Bin <zhengbin13@huawei.com>
Mon, 13 Jan 2020 02:16:14 +0000 (10:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 13:34:03 +0000 (14:34 +0100)
commitbf22182cb7518450b518950d311b98711eb0d9bc
tree0131418cb98b4fd9e62d26988bf84ed69046c7b7
parent76460fbd845b2b55d6fdb651b9dac4ef8122038b
tty: synclink_gt: use true,false for bool variable

Fixes coccicheck warning:

drivers/tty/synclink_gt.c:2101:3-19: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/1578881777-65475-2-git-send-email-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/synclink_gt.c