linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the regulator tree
@ 2018-10-02  3:07 Stephen Rothwell
  2018-10-02  6:16 ` Matti Vaittinen
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2018-10-02  3:07 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Matti Vaittinen

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

Hi all,

After merging the regulator tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/mfd/rohm-bd718x7.c: In function 'bd718xx_i2c_probe':
drivers/mfd/rohm-bd718x7.c:101:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  bd718xx->chip_type = (unsigned int)
                       ^

Introduced by commit

  494edd266b94 ("regulator/mfd: Support ROHM BD71847 power management IC")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the regulator tree
@ 2024-10-23  4:52 Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2024-10-23  4:52 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Jerome Brunet, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the regulator tree, today's linux-next build (htmldocs)
produced this warning:

include/linux/regulator/machine.h:290: warning: Excess struct member 'regulator_init' description in 'regulator_init_data'

Introduced by commit

  602ff58ae4fe ("regulator: core: remove machine init callback from config")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the regulator tree
@ 2024-10-23  4:51 Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2024-10-23  4:51 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Jerome Brunet, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the regulator tree, today's linux-next build (htmldocs)
produced this warning:

include/linux/regulator/driver.h:435: warning: Function parameter or struct member 'init_cb' not described in 'regulator_desc'

Introduced by commit

  cfcdf395c21e ("regulator: core: add callback to perform runtime init")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the regulator tree
@ 2020-01-10  2:41 Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2020-01-10  2:41 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Saravanan Sekar

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

Hi all,

After merging the regulator tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from drivers/regulator/mpq7920.c:19:
drivers/regulator/mpq7920.c: In function 'mpq7920_parse_cb':
drivers/regulator/mpq7920.c:224:13: warning: conversion from 'long unsigned int' to 'unsigned int' changes value from '18446744073709551551' to '4294967231' [-Woverflow]
  224 |     BIT(6), ~BIT(6));
include/linux/regmap.h:75:42: note: in definition of macro 'regmap_update_bits'
   75 |  regmap_update_bits_base(map, reg, mask, val, NULL, false, false)
      |                                          ^~~

Introduced by commit

  6501c1f54a17 ("regulator: mpq7920: add mpq7920 regulator driver")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the regulator tree
@ 2016-04-18  3:43 Stephen Rothwell
  2016-04-18  9:15 ` Mark Brown
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2016-04-18  3:43 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

Hi all,

After merging the regulator tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_regulator_init':
drivers/gpu/drm/msm/dsi/dsi_host.c:329:3: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations]
   if (regulator_can_change_voltage(s[i].consumer)) {
   ^

and several more ...

Introduced by commit

  6a0028b3dd67 ("regulator: Deprecate regulator_can_change_voltage()")

In the future, please fix up all the current users of an interface
*before* marking it deprecated.  All these extra warnings just muddy the
"real" warnings ...

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the regulator tree
@ 2015-10-07  2:45 Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2015-10-07  2:45 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Sascha Hauer

Hi all,

After merging the regulator tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/regulator/core.c: At top level:
drivers/regulator/core.c:139:13: warning: 'regulator_lock_supply' defined but not used [-Wunused-function]
 static void regulator_lock_supply(struct regulator_dev *rdev)
             ^
drivers/regulator/core.c:159:13: warning: 'regulator_unlock_supply' defined but not used [-Wunused-function]
 static void regulator_unlock_supply(struct regulator_dev *rdev)
             ^

Introduced by commit

  9f01cd4a915e ("regulator: core: introduce function to lock regulators and its supplies")

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-10-23  4:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-02  3:07 linux-next: build warning after merge of the regulator tree Stephen Rothwell
2018-10-02  6:16 ` Matti Vaittinen
2018-10-02  6:25   ` Stephen Rothwell
2018-10-02  6:43     ` Matti Vaittinen
2018-10-02 13:02       ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2024-10-23  4:52 Stephen Rothwell
2024-10-23  4:51 Stephen Rothwell
2020-01-10  2:41 Stephen Rothwell
2016-04-18  3:43 Stephen Rothwell
2016-04-18  9:15 ` Mark Brown
2015-10-07  2:45 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).