Re: [PATCH] isdn: isdnloop: fix logic error in isdnloop_sendbuf

2017-09-07 Thread David Miller
From: Arnd Bergmann Date: Wed, 6 Sep 2017 15:38:58 +0200 > gcc-7 found an ancient bug in the loop driver, leading to a condition that > is always false, meaning we ignore the contents of 'card->flags' here: > > drivers/isdn/isdnloop/isdnloop.c:412:37: error: ?: using integer constants in > boo

[PATCH] isdn: isdnloop: fix logic error in isdnloop_sendbuf

2017-09-06 Thread Arnd Bergmann
gcc-7 found an ancient bug in the loop driver, leading to a condition that is always false, meaning we ignore the contents of 'card->flags' here: drivers/isdn/isdnloop/isdnloop.c:412:37: error: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Werror=