Re: [PATCH] isdn: isdnloop: fix pointer dereference bug

2019-03-07 Thread David Miller
From: Arnd Bergmann Date: Thu, 7 Mar 2019 10:32:07 +0100 > clang has spotted an ancient code bug and warns about it with: > > drivers/isdn/isdnloop/isdnloop.c:573:12: error: address of array > 'card->rcard' will always evaluate to 'true' > [-Werror,-Wpointer-bool-conversion] > > This is an a

Re: [PATCH] isdn: isdnloop: fix pointer dereference bug

2019-03-07 Thread Nathan Chancellor
On Thu, Mar 07, 2019 at 10:32:07AM +0100, Arnd Bergmann wrote: > clang has spotted an ancient code bug and warns about it with: > > drivers/isdn/isdnloop/isdnloop.c:573:12: error: address of array > 'card->rcard' will always evaluate to 'true' > [-Werror,-Wpointer-bool-conversion] > > This is a