coresight: tmc-etr: Assign boolean values to a bool variable
authorKaixu Xia <kaixuxia@tencent.com>
Fri, 27 Nov 2020 17:52:52 +0000 (10:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Nov 2020 19:23:13 +0000 (20:23 +0100)
commit92815c0041ffd16799b408ff9fce9bae697e2bf8
tree7e043b059e7e20053ec47af5bcac702b294b9178
parent22b2beaa7f166f550424cbb3b988aeaa7ef0425a
coresight: tmc-etr: Assign boolean values to a bool variable

Fix the following coccinelle warnings:

./drivers/hwtracing/coresight/coresight-tmc-etr.c:957:2-15: WARNING: Assignment of 0/1 to bool variable

Fix them by assigning boolean values.

Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20201127175256.1092685-12-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-tmc-etr.c