&& versus &
Hello,
Im wondering about this line in drivers/watchdog/sch311x_wdt.c:
if (sch311x_sio_inb(sio_config_port, 0x30) && 0x01 == 0)
is this intended ?
Signature · 4 lines
MfG/Kind regards Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
Hi Toralf,
Quoted 5 lines
Im wondering about this line in
drivers/watchdog/sch311x_wdt.c:if (
sch311x_sio_inb(sio_config_port, 0x30)&&0x01== 0)is this intended ?
This is a typo/bug.
Patch created.
Kind regards and thanks,
Wim.