linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the thermal tree
@ 2019-10-21 23:23 Stephen Rothwell
  2019-10-22  9:50 ` Amit Kucheria
  2019-10-29  9:05 ` Geert Uytterhoeven
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2019-10-21 23:23 UTC (permalink / raw)
  To: Daniel Lezcano, Zhang Rui, Eduardo Valentin
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Amit Kucheria

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

Hi all,

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

In file included from drivers/thermal/qcom/tsens-common.c:13:
drivers/thermal/qcom/tsens-common.c: In function 'tsens_set_interrupt':
include/linux/regmap.h:87:2: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
   87 |  regmap_field_update_bits_base(field, ~0, val, NULL, false, false)
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/thermal/qcom/tsens-common.c:183:6: note: 'index' was declared here
  183 |  u32 index;
      |      ^~~~~
In file included from drivers/thermal/qcom/tsens-common.c:13:
include/linux/regmap.h:87:2: warning: 'index_clear' may be used uninitialized in this function [-Wmaybe-uninitialized]
   87 |  regmap_field_update_bits_base(field, ~0, val, NULL, false, false)
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/thermal/qcom/tsens-common.c:199:18: note: 'index_clear' was declared here
  199 |  u32 index_mask, index_clear;
      |                  ^~~~~~~~~~~
drivers/thermal/qcom/tsens-common.c:199:6: warning: 'index_mask' may be used uninitialized in this function [-Wmaybe-uninitialized]
  199 |  u32 index_mask, index_clear;
      |      ^~~~~~~~~~

Introduced by commit

  fbfe1a042cfd ("drivers: thermal: tsens: Add interrupt support")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the thermal tree
@ 2020-10-27  0:34 Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2020-10-27  0:34 UTC (permalink / raw)
  To: Daniel Lezcano, Zhang Rui
  Cc: Bernard Zhao, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

drivers/thermal/gov_power_allocator.c: In function 'power_allocator_unbind':
drivers/thermal/gov_power_allocator.c:587:33: warning: unused variable 'params' [-Wunused-variable]
  587 |  struct power_allocator_params *params = tz->governor_data;
      |                                 ^~~~~~

Introduced by commit

  ee7e92c62370 ("drivers/thermal: Remove unnecessary structure members allocated_tzp")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the thermal tree
@ 2020-03-02 23:42 Stephen Rothwell
  2020-03-03  0:17 ` Daniel Lezcano
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2020-03-02 23:42 UTC (permalink / raw)
  To: Daniel Lezcano, Zhang Rui, Eduardo Valentin
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Anson Huang

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

Hi all,

After merging the thermal tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from drivers/hwmon/hwmon.c:22:
include/linux/thermal.h:382:12: warning: 'thermal_zone_of_get_sensor_id' defined but not used [-Wunused-function]
  382 | static int thermal_zone_of_get_sensor_id(struct device_node *tz_np,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and many more the same ...

Introduced by commit

  0629521dc9c9 ("thermal: of-thermal: add API for getting sensor ID from DT")

Missing "inline" in the !defined(CONFIG_THERMAL_OF) update.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the thermal tree
@ 2019-04-30  3:48 Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2019-04-30  3:48 UTC (permalink / raw)
  To: Zhang Rui
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Daniel Lezcano

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

Hi Zhang,

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

boolean symbol THERMAL tested for 'm'? test forced to 'n'

Introduced by commit

  be33e4fbbea5 ("thermal/drivers/core: Remove the module Kconfig's option")

There is a test for =m in drivers/net/ethernet/mellanox/mlxsw/Kconfig.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the thermal tree
@ 2017-09-01  0:52 Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2017-09-01  0:52 UTC (permalink / raw)
  To: Zhang Rui; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List

Hi Zhang,

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

drivers/thermal/int340x_thermal/int3406_thermal.c: In function 'int3406_thermal_get_limit':
drivers/thermal/int340x_thermal/int3406_thermal.c:116:6: warning: unused variable 'index' [-Wunused-variable]
  int index;
      ^

Introduced by commit

  c658894562ba ("Thermal: int3406_thermal: fix thermal sysfs I/F")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the thermal tree
@ 2016-08-24  3:38 Stephen Rothwell
  2016-08-24  7:56 ` Zhang Rui
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2016-08-24  3:38 UTC (permalink / raw)
  To: Zhang Rui; +Cc: linux-next, linux-kernel, Amit Kucheria, Leo Yan

Hi Zhang,

After merging the thermal tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

warning: (HISI_THERMAL) selects STUB_CLK_HI6220 which has unmet direct dependencies (COMMON_CLK && COMMON_CLK_HI6220 && MAILBOX)

Introduced by commit

  5f63581ce68e ("thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling")

BTW: That commit message does not match the change (which adds a
"select" not a "depends on".

-- 
Cheers,
Stephen Rothwell

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

end of thread, other threads:[~2020-10-27  0:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 23:23 linux-next: build warning after merge of the thermal tree Stephen Rothwell
2019-10-22  9:50 ` Amit Kucheria
2019-10-22 11:18   ` Stephen Rothwell
2019-10-24  7:26     ` Amit Kucheria
2019-10-29  9:05 ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2020-10-27  0:34 Stephen Rothwell
2020-03-02 23:42 Stephen Rothwell
2020-03-03  0:17 ` Daniel Lezcano
2019-04-30  3:48 Stephen Rothwell
2017-09-01  0:52 Stephen Rothwell
2016-08-24  3:38 Stephen Rothwell
2016-08-24  7:56 ` Zhang Rui

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).