All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the battery tree
@ 2023-08-21  2:57 Stephen Rothwell
  2023-08-21  7:07 ` Lee Jones
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2023-08-21  2:57 UTC (permalink / raw)
  To: Sebastian Reichel, Lee Jones
  Cc: Jakob Hauser, Rob Herring, Sebastian Reichel,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/power/supply/rt5033_charger.c: In function 'rt5033_charger_probe':
drivers/power/supply/rt5033_charger.c:694:19: error: implicit declaration of function 'of_parse_phandle' [-Werror=implicit-function-declaration]
  694 |         np_conn = of_parse_phandle(pdev->dev.of_node, "richtek,usb-connector", 0);
      |                   ^~~~~~~~~~~~~~~~
drivers/power/supply/rt5033_charger.c:694:17: error: assignment to 'struct device_node *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
  694 |         np_conn = of_parse_phandle(pdev->dev.of_node, "richtek,usb-connector", 0);
      |                 ^
drivers/power/supply/rt5033_charger.c:695:19: error: implicit declaration of function 'of_get_parent'; did you mean 'kernfs_get_parent'? [-Werror=implicit-function-declaration]
  695 |         np_edev = of_get_parent(np_conn);
      |                   ^~~~~~~~~~~~~
      |                   kernfs_get_parent
drivers/power/supply/rt5033_charger.c:695:17: error: assignment to 'struct device_node *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
  695 |         np_edev = of_get_parent(np_conn);
      |                 ^

Caused by commit

  2ce8284c3115 ("power: Explicitly include correct DT includes")

interacting with commit

  12cc585f36b8 ("power: supply: rt5033_charger: Add cable detection and USB OTG supply")

from the mfd tree.

I have applied the following merge fix patch.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 21 Aug 2023 12:50:12 +1000
Subject: [PATCH] fixup for "power: Explicitly include correct DT includes"

interacting with commit

  12cc585f36b8 ("power: supply: rt5033_charger: Add cable detection and USB OTG supply")

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/power/supply/rt5033_charger.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/power/supply/rt5033_charger.c b/drivers/power/supply/rt5033_charger.c
index 4d1198d752b7..4ea769775fa5 100644
--- a/drivers/power/supply/rt5033_charger.c
+++ b/drivers/power/supply/rt5033_charger.c
@@ -11,6 +11,7 @@
 #include <linux/extcon.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
+#include <linux/of.h>
 #include <linux/platform_device.h>
 #include <linux/power_supply.h>
 #include <linux/regmap.h>
-- 
2.40.1

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply related	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2022-06-20  0:45 Stephen Rothwell
  2022-06-21 12:30 ` Asmaa Mnebhi
  2022-06-24  2:47 ` Stephen Rothwell
  0 siblings, 2 replies; 50+ messages in thread
From: Stephen Rothwell @ 2022-06-20  0:45 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Asmaa Mnebhi, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/power/reset/pwr-mlxbf.c: In function 'pwr_mlxbf_probe':
drivers/power/reset/pwr-mlxbf.c:67:15: error: implicit declaration of function 'devm_work_autocancel' [-Werror=implicit-function-declaration]
   67 |         err = devm_work_autocancel(dev, &priv->send_work, pwr_mlxbf_send_work);
      |               ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")

I have used the battery tree from next-20220617 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2022-05-04  2:35 Stephen Rothwell
  0 siblings, 0 replies; 50+ messages in thread
From: Stephen Rothwell @ 2022-05-04  2:35 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Sicelo A. Mhlongo, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/power/supply/bq27xxx_battery.c: In function 'bq27xxx_battery_update':
drivers/power/supply/bq27xxx_battery.c:1767:14: error: unused variable 'has_ci_flag' [-Werror=unused-variable]
 1767 |         bool has_ci_flag = di->opts & BQ27XXX_O_HAS_CI;
      |              ^~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  698502318f51 ("power: supply: bq27xxx: expose battery data when CI=1")

I have applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 4 May 2022 12:31:47 +1000
Subject: [PATCH] power: supply: bq27xxx: remove unused variable

Fixes: 698502318f51 ("power: supply: bq27xxx: expose battery data when CI=1")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/power/supply/bq27xxx_battery.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c
index 9adc7f43bbfd..35e6a394c0df 100644
--- a/drivers/power/supply/bq27xxx_battery.c
+++ b/drivers/power/supply/bq27xxx_battery.c
@@ -1764,7 +1764,6 @@ static int bq27xxx_battery_read_health(struct bq27xxx_device_info *di)
 void bq27xxx_battery_update(struct bq27xxx_device_info *di)
 {
 	struct bq27xxx_reg_cache cache = {0, };
-	bool has_ci_flag = di->opts & BQ27XXX_O_HAS_CI;
 	bool has_singe_flag = di->opts & BQ27XXX_O_ZERO;
 
 	cache.flags = bq27xxx_read(di, BQ27XXX_REG_FLAGS, has_singe_flag);
-- 
2.35.1

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply related	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2019-12-19  0:01 Stephen Rothwell
  2019-12-19  1:35 ` Sebastian Reichel
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2019-12-19  0:01 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Elliot Berman

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

Hi all,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "machine_restart" [drivers/power/reset/restart-poweroff.ko] undefined!

Caused by commit

  263ec7d0c497 ("power: reset: Enable tristate on restart power-off driver")

I have used the bettery tree from next-20191218 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2019-06-28  4:03 Stephen Rothwell
  2019-06-28 15:31 ` Sebastian Reichel
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2019-06-28  4:03 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Nick Crews,
	Enric Balletbo i Serra

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

Hi all,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/power/supply/wilco-charger.c: In function 'wilco_charge_get_property':
drivers/power/supply/wilco-charger.c:104:8: error: implicit declaration of function 'wilco_ec_get_byte_property'; did you mean 'wilco_charge_get_property'? [-Werror=implicit-function-declaration]
  ret = wilco_ec_get_byte_property(ec, property_id, &raw);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
        wilco_charge_get_property
drivers/power/supply/wilco-charger.c: In function 'wilco_charge_set_property':
drivers/power/supply/wilco-charger.c:130:10: error: implicit declaration of function 'wilco_ec_set_byte_property'; did you mean 'wilco_charge_set_property'? [-Werror=implicit-function-declaration]
   return wilco_ec_set_byte_property(ec, PID_CHARGE_MODE, mode);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
          wilco_charge_set_property

Caused by commit

  0736343e4c56 ("power_supply: wilco_ec: Add charging config driver")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2015-09-29  1:45 Stephen Rothwell
  2015-10-02  1:49 ` Stephen Rothwell
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2015-09-29  1:45 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: linux-next, linux-kernel, Marek Belisko

Hi Sebastian,

After merging the battery tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

ERROR (phandle_references): Reference to non-existent node or label "twl4030_madc"
ERROR: Input tree has errors, aborting (use -f to force output)
scripts/Makefile.lib:293: recipe for target 'arch/arm/boot/dts/omap3-beagle-xm-ab.dtb' failed

and many more ...

Caused by commit

  af19161aaed7 ("ARM: dts: twl4030: Add iio properties for bci subnode")

Presumably some updates to other files were missed.

I have used the battery tree from next-20150925 fot today.

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

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2015-07-27  1:40 Stephen Rothwell
  0 siblings, 0 replies; 50+ messages in thread
From: Stephen Rothwell @ 2015-07-27  1:40 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: linux-next, linux-kernel, Jun Nie

Hi Sebastian,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/power/reset/zx-reboot.c:21:26: fatal error: asm/proc-fns.h: No such file or directory
 #include <asm/proc-fns.h>
                          ^

Caused by commit

  dd9f1486ae20 ("power/reset: zx: Register restart handler")

I have used the battery tree from next-20150724 for today.

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

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2012-07-16  4:09 Stephen Rothwell
  2012-07-16  4:57 ` Chanwoo Choi
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2012-07-16  4:09 UTC (permalink / raw)
  To: Anton Vorontsov
  Cc: linux-next, linux-kernel, Chanwoo Choi, Myungjoo Ham, Kyungmin Park

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

Hi Anton,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/built-in.o: In function `charger_manager_probe':
charger-manager.c:(.text+0x11d61a): undefined reference to `extcon_register_interest'
charger-manager.c:(.text+0x11d7b6): undefined reference to `extcon_unregister_interest'
drivers/built-in.o: In function `charger_manager_remove':
charger-manager.c:(.devexit.text+0x8f3): undefined reference to `extcon_unregister_interest'

Caused by commit bee737bccb03 ("charger-manager: Use EXTCON Subsystem to
detect charger cables for charging").

I have used the battery tree from next-20120713 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2012-03-15  2:56 Stephen Rothwell
  2012-03-20  4:39 ` Stephen Rothwell
  2012-03-26 16:11 ` Anton Vorontsov
  0 siblings, 2 replies; 50+ messages in thread
From: Stephen Rothwell @ 2012-03-15  2:56 UTC (permalink / raw)
  To: Anton Vorontsov; +Cc: linux-next, linux-kernel, Arun Murthy, Linus Walleij

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

Hi Anton,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/power/ab8500_btemp.c: In function 'ab8500_btemp_batctrl_volt_to_res':
drivers/power/ab8500_btemp.c:142:2: error: implicit declaration of function 'is_ab8500_1p1_or_earlier' [-Werror=implicit-function-declaration]
drivers/power/ab8500_btemp.c: In function 'ab8500_btemp_templow_handler':
drivers/power/ab8500_btemp.c:619:2: error: implicit declaration of function 'is_ab8500_2p0_or_earlier' [-Werror=implicit-function-declaration]
drivers/power/ab8500_charger.c: In function 'ab8500_charger_ac_en':
drivers/power/ab8500_charger.c:1126:3: error: implicit declaration of function 'is_ab8500_1p1_or_earlier' [-Werror=implicit-function-declaration]
drivers/power/ab8500_charger.c: In function 'ab8500_charger_remove':
drivers/power/ab8500_charger.c:2519:2: error: implicit declaration of function 'usb_unregister_notifier' [-Werror=implicit-function-declaration]
drivers/power/ab8500_charger.c:2520:2: error: implicit declaration of function 'usb_put_transceiver' [-Werror=implicit-function-declaration]
drivers/power/ab8500_charger.c: In function 'ab8500_charger_probe':
drivers/power/ab8500_charger.c:2688:2: error: implicit declaration of function 'usb_get_transceiver' [-Werror=implicit-function-declaration]
drivers/power/ab8500_charger.c:2688:14: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/power/ab8500_charger.c:2695:2: error: implicit declaration of function 'usb_register_notifier' [-Werror=implicit-function-declaration]

Caused by commits 89449ac8d6d2 ("ab8500-charger: AB8500 charger driver")
and 20ac1aed6206 ("ab8500-btemp: AB8500 battery temperature driver").

I have used the battery tree form next-20120314 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2012-01-09  2:11 Stephen Rothwell
  0 siblings, 0 replies; 50+ messages in thread
From: Stephen Rothwell @ 2012-01-09  2:11 UTC (permalink / raw)
  To: Anton Vorontsov; +Cc: linux-next, linux-kernel, Ashish Jangam, David Dajun Chen

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

Hi Anton,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/power/da9052-battery.c: In function 'da9052_bat_read_volt':
drivers/power/da9052-battery.c:293:2: error: implicit declaration of function 'da9052_adc_manual_read' [-Werror=implicit-function-declaration]
drivers/power/da9052-battery.c: In function 'da9052_bat_check_presence':
drivers/power/da9052-battery.c:306:2: error: implicit declaration of function 'da9052_adc_read_temp' [-Werror=implicit-function-declaration]
drivers/power/da9052-battery.c: In function 'da9052_determine_vc_tbl_index':
drivers/power/da9052-battery.c:348:1: warning: control reaches end of non-void function [-Wreturn-type]
cc1: some warnings being treated as errors

Caused by commit ded7fc7b0550 ("power_supply: Add DA9052 battery driver").

The commit message says "This driver depends on DA9052 MFD core dirver
for definitions and methods".  That core is presumably still pending
inclusion.

I have used the battery tree from next-20120104 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 50+ messages in thread
* linux-next: build failure after merge of the battery tree
@ 2012-01-05  3:40 Stephen Rothwell
  2012-01-05 15:25 ` Anton Vorontsov
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2012-01-05  3:40 UTC (permalink / raw)
  To: Anton Vorontsov; +Cc: linux-next, linux-kernel

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

Hi Anton,

After merging the battery tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "sysfs_create_link_nowarn" [drivers/power/power_supply.ko] undefined!

Caused by commit 8351665195ce ("power_supply: allow a power supply to
explicitly point to powered device").  That symbol is not exported to
modules.

I have used the battery tree from next-20120104 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2023-08-21 12:46 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <C3AE124F08223B42BC95AEB82F0F6CED1FDB2C78@KCHJEXMB02.kpit.com>
2012-01-09  8:29 ` Re:linux-next: build failure after merge of the battery tree Ashish Jangam
2012-01-09 13:10   ` linux-next: " Anton Vorontsov
2012-01-09 23:53     ` Mark Brown
2012-01-10  0:51       ` Anton Vorontsov
2023-08-21  2:57 Stephen Rothwell
2023-08-21  7:07 ` Lee Jones
2023-08-21  7:13   ` Lee Jones
2023-08-21 12:41     ` Rob Herring
2023-08-21 12:46       ` Lee Jones
  -- strict thread matches above, loose matches on Subject: below --
2022-06-20  0:45 Stephen Rothwell
2022-06-21 12:30 ` Asmaa Mnebhi
2022-06-24  2:47 ` Stephen Rothwell
2022-06-24 12:44   ` Asmaa Mnebhi
2022-06-28  2:30   ` Stephen Rothwell
2022-05-04  2:35 Stephen Rothwell
2019-12-19  0:01 Stephen Rothwell
2019-12-19  1:35 ` Sebastian Reichel
2019-06-28  4:03 Stephen Rothwell
2019-06-28 15:31 ` Sebastian Reichel
2019-06-28 16:56   ` Enric Balletbo i Serra
2019-06-29  0:33     ` Stephen Rothwell
2019-07-01 13:22       ` Enric Balletbo i Serra
2015-09-29  1:45 Stephen Rothwell
2015-10-02  1:49 ` Stephen Rothwell
2015-10-08  1:04   ` Stephen Rothwell
2015-10-08  6:12     ` Belisko Marek
2015-10-08 10:21       ` Stephen Rothwell
2015-10-15 14:26     ` Stephen Rothwell
2015-10-20 22:32       ` Stephen Rothwell
2015-10-21  6:12         ` Belisko Marek
2015-07-27  1:40 Stephen Rothwell
2012-07-16  4:09 Stephen Rothwell
2012-07-16  4:57 ` Chanwoo Choi
2012-03-15  2:56 Stephen Rothwell
2012-03-20  4:39 ` Stephen Rothwell
2012-03-26  2:13   ` Stephen Rothwell
2012-03-26  2:31     ` Arun MURTHY
2012-03-26  6:55       ` Linus Walleij
2012-03-26  8:36         ` Anton Vorontsov
2012-03-26  9:00         ` Samuel Ortiz
2012-03-26 16:11 ` Anton Vorontsov
2012-03-26 21:44   ` Stephen Rothwell
2012-03-26 21:47     ` Stephen Rothwell
2012-03-27 13:03     ` Anton Vorontsov
2012-03-28 11:38       ` Mark Brown
2012-01-09  2:11 Stephen Rothwell
2012-01-05  3:40 Stephen Rothwell
2012-01-05 15:25 ` Anton Vorontsov
2012-01-05 15:53   ` Greg KH
2012-01-07  9:00   ` Jeremy Fitzhardinge

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.