Re: [PATCH] NFC:Fix Warning: Comparison to bool

2020-11-27 Thread Jakub Kicinski
On Thu, 26 Nov 2020 15:15:42 +0800 Runzhe Wang wrote: > This patch uses the shdlc->rnr variable as a judgment condition of > statement, rather than compares with bool. > > Signed-off-by: Runzhe Wang > Reported-by: Abaci "Fix Warning" sounds like you're addressing a real compiler warning, please

[PATCH] NFC:Fix Warning: Comparison to bool

2020-11-25 Thread Runzhe Wang
This patch uses the shdlc->rnr variable as a judgment condition of statement, rather than compares with bool. Signed-off-by: Runzhe Wang Reported-by: Abaci --- net/nfc/hci/llc_shdlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfc/hci/llc_shdlc.c b/net/nfc/hci/llc_s