All of lore.kernel.org
 help / color / mirror / Atom feed
* [plbossart-sound:fix/regmap-gpios 21/23] drivers/gpio/gpio-regmap.c:36:15: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false
@ 2020-05-28 15:09 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-28 15:09 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]

Hi Pierre-Louis,

First bad commit (maybe != root cause):

tree:   https://github.com/plbossart/sound fix/regmap-gpios
head:   cba51e6099379d0d8b110c035e25736598a357dc
commit: 1b4257efce7e5ec1a01dffb723bbed65e26cc338 [21/23] transition to gpio_regmap
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2d068e534f1671459e1b135852c1b3c10502e929)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 1b4257efce7e5ec1a01dffb723bbed65e26cc338
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/gpio/gpio-regmap.c:36:15: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare]
return (addr == GPIO_REGMAP_ADDR_ZERO) ? 0 : addr;
~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

vim +36 drivers/gpio/gpio-regmap.c

176fcd6a2c030b Michael Walle 2020-05-25  33  
176fcd6a2c030b Michael Walle 2020-05-25  34  static unsigned int gpio_regmap_addr(unsigned int addr)
176fcd6a2c030b Michael Walle 2020-05-25  35  {
176fcd6a2c030b Michael Walle 2020-05-25 @36  	return (addr == GPIO_REGMAP_ADDR_ZERO) ? 0 : addr;
176fcd6a2c030b Michael Walle 2020-05-25  37  }
176fcd6a2c030b Michael Walle 2020-05-25  38  

:::::: The code at line 36 was first introduced by commit
:::::: 176fcd6a2c030b65a0f99743fa8af2e2a7146788 gpio: add a reusable generic gpio_chip using regmap

:::::: TO: Michael Walle <michael@walle.cc>
:::::: CC: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73580 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-28 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 15:09 [plbossart-sound:fix/regmap-gpios 21/23] drivers/gpio/gpio-regmap.c:36:15: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.