]> asedeno.scripts.mit.edu Git - linux.git/commit
tty/serial: kgdb_nmi: use true,false for bool variable
authorZheng Bin <zhengbin13@huawei.com>
Mon, 13 Jan 2020 02:16:15 +0000 (10:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 13:34:04 +0000 (14:34 +0100)
commita4282b8670c57f6fe9a900b32b6eaaaa219dff08
tree9132df1a9de68e96df3e59f63693a33da27f331d
parentbf22182cb7518450b518950d311b98711eb0d9bc
tty/serial: kgdb_nmi: use true,false for bool variable

Fixes coccicheck warning:

drivers/tty/serial/kgdb_nmi.c:121:6-13: WARNING: Assignment of 0/1 to bool variable
drivers/tty/serial/kgdb_nmi.c:133:2-9: 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-3-git-send-email-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/kgdb_nmi.c