Re: [PATCH\ net] rtw88: fix fw dump support detection

2020-11-02 Thread Kalle Valo
Arnd Bergmann wrote: > From: Arnd Bergmann > > clang points out a useless check that was recently added: > > drivers/net/wireless/realtek/rtw88/fw.c:1485:21: warning: address of array > 'rtwdev->chip->fw_fifo_addr' will always evaluate to 'true' > [-Wpointer-bool-conversion] > if

Re: [PATCH\ net] rtw88: fix fw dump support detection

2020-10-26 Thread Nathan Chancellor
On Mon, Oct 26, 2020 at 10:22:55PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > clang points out a useless check that was recently added: > > drivers/net/wireless/realtek/rtw88/fw.c:1485:21: warning: address of array > 'rtwdev->chip->fw_fifo_addr' will always evaluate to 'true' >