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: comparison is always false due to limited range of data type
@ 2020-05-28 17:22 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-28 17:22 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/plbossart/sound fix/regmap-gpios
head:   cba51e6099379d0d8b110c035e25736598a357dc
commit: 1b4257efce7e5ec1a01dffb723bbed65e26cc338 [21/23] transition to gpio_regmap
config: sparc64-randconfig-c021-20200528 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0

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: In function 'gpio_regmap_addr':
>> drivers/gpio/gpio-regmap.c:36:15: warning: comparison is always false due to limited range of data type [-Wtype-limits]
36 |  return (addr == GPIO_REGMAP_ADDR_ZERO) ? 0 : addr;
|               ^~

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: 31883 bytes --]

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-28 17:22 [plbossart-sound:fix/regmap-gpios 21/23] drivers/gpio/gpio-regmap.c:36:15: warning: comparison is always false due to limited range of data type 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.