diff options
author | Jiapeng Zhong <abaci-bugfix@linux.alibaba.com> | 2021-01-20 15:48:10 +0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2021-02-07 14:41:19 +0100 |
commit | 17f0d1b9bd3333228b5c420f2dae2d7a980636b8 (patch) | |
tree | 6f8a87f4aec08c94d3ee31fcaf4ea44ad7443dc5 /drivers/watchdog/mv64x60_wdt.c | |
parent | fa0f8d51e90d2202be9f4f02b9a95347389a5959 (diff) |
watchdog: hpwdt: Assign boolean values to a bool variable
Fix the following coccicheck warnings:
./drivers/watchdog/hpwdt.c:345:2-12: WARNING: Assignment of
0/1 to bool variable.
./drivers/watchdog/hpwdt.c:126:2-12: 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>
Reviewed-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1611128890-79204-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/mv64x60_wdt.c')
0 files changed, 0 insertions, 0 deletions