]> git.baikalelectronics.ru Git - kernel.git/commit
taprio: boolean values to a bool variable
authorJiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Mon, 18 Jan 2021 08:31:02 +0000 (16:31 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 20 Jan 2021 01:43:48 +0000 (17:43 -0800)
commit927e7dde49524c6c45a18518235216dd22d9da91
tree3b2bca399a368fb78c5e3e184a2037f8f1c48864
parent5be07bf28493deea54e6cfadf580c912efb7bd35
taprio: boolean values to a bool variable

Fix the following coccicheck warnings:

./net/sched/sch_taprio.c:393:3-16: WARNING: Assignment of 0/1 to bool
variable.

./net/sched/sch_taprio.c:375:2-15: WARNING: Assignment of 0/1 to bool
variable.

./net/sched/sch_taprio.c:244:4-19: WARNING: Assignment of 0/1 to bool
variable.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Link: https://lore.kernel.org/r/1610958662-71166-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/sch_taprio.c