Re: [PATCH] macintosh: adb: Fix warning comparing pointer to 0

2022-11-30 Thread Michael Ellerman
On Thu, 17 Mar 2022 10:35:54 +0800, Haowen Bai wrote: > Avoid pointer type value compared with 0 to make code clear. > > Applied to powerpc/next. [1/1] macintosh: adb: Fix warning comparing pointer to 0 https://git.kernel.org/powerpc/c/2f59562c140d3119328f869126e8e593a99a392f cheers

Re: [PATCH] macintosh/adb: Fix warning comparing pointer to 0

2022-11-06 Thread Christophe Leroy
Le 06/11/2022 à 17:12, Christophe JAILLET a écrit : > Le 06/11/2022 à 16:28, wangkail...@jari.cn a écrit : >> Fix the following coccicheck warning: >> >> drivers/macintosh/adb.c:676:14-15: WARNING comparing pointer to 0. >> >> Signed-off-by: KaiLong Wang We already have such patches awaiting fo

Re: [PATCH] macintosh/adb: Fix warning comparing pointer to 0

2022-11-06 Thread Christophe JAILLET
Le 06/11/2022 à 16:28, wangkail...@jari.cn a écrit : Fix the following coccicheck warning: drivers/macintosh/adb.c:676:14-15: WARNING comparing pointer to 0. Signed-off-by: KaiLong Wang --- drivers/macintosh/adb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/m