[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200423163057.GA43481@ubuntu-s3-xlarge-x86>
Date: Thu, 23 Apr 2020 09:30:57 -0700
From: Nathan Chancellor <natechancellor@...il.com>
To: kbuild test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>
Subject: Re: drivers/usb/gadget/udc/s3c2410_udc.c:255:11: warning: comparison
of address of 'ep->queue' equal to a null pointer is always false
On Thu, Apr 23, 2020 at 03:02:27PM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: c578ddb39e565139897124e74e5a43e56538cb33
> commit: afe956c577b2d5a3d9834e4424587c1ebcf90c4c kbuild: Enable -Wtautological-compare
> date: 2 weeks ago
> config: arm-tct_hammer_defconfig (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2de52422acf04662b45599f77c14ce1b2cec2b81)
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # install arm cross compiling tool for clang build
> # apt-get install binutils-arm-linux-gnueabi
> git checkout afe956c577b2d5a3d9834e4424587c1ebcf90c4c
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@...el.com>
>
> All warnings (new ones prefixed by >>):
>
> >> drivers/usb/gadget/udc/s3c2410_udc.c:255:11: warning: comparison of address of 'ep->queue' equal to a null pointer is always false [-Wtautological-pointer-compare]
> if (&ep->queue == NULL)
> ~~~~^~~~~ ~~~~
> 1 warning generated.
Thank you, patch sent:
https://lore.kernel.org/lkml/20200423162923.10886-1-natechancellor@gmail.com/
Cheers,
Nathan
Powered by blists - more mailing lists