public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH 5/6] power: supply: max77759: add charger driver
       [not found] <20251123-max77759-charger-v1-5-6b2e4b8f7f54@google.com>
@ 2025-11-26  7:38 ` kernel test robot
  2025-11-26 22:04   ` Amit Sunil Dhamne
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-11-26  7:38 UTC (permalink / raw)
  To: Amit Sunil Dhamne via B4 Relay, Sebastian Reichel, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, André Draszik, Lee Jones,
	Greg Kroah-Hartman, Badhri Jagan Sridharan, Heikki Krogerus,
	Peter Griffin, Tudor Ambarus, Alim Akhtar
  Cc: llvm, oe-kbuild-all, linux-kernel, linux-pm, devicetree,
	linux-usb, linux-arm-kernel, linux-samsung-soc, RD Babiera,
	Kyle Tso, Amit Sunil Dhamne

Hi Amit,

kernel test robot noticed the following build errors:

[auto build test ERROR on 39f90c1967215375f7d87b81d14b0f3ed6b40c29]

url:    https://github.com/intel-lab-lkp/linux/commits/Amit-Sunil-Dhamne-via-B4-Relay/dt-bindings-power-supply-Add-Maxim-MAX77759-charger/20251123-163840
base:   39f90c1967215375f7d87b81d14b0f3ed6b40c29
patch link:    https://lore.kernel.org/r/20251123-max77759-charger-v1-5-6b2e4b8f7f54%40google.com
patch subject: [PATCH 5/6] power: supply: max77759: add charger driver
config: um-randconfig-001-20251126 (https://download.01.org/0day-ci/archive/20251126/202511261521.hSYp4ttf-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251126/202511261521.hSYp4ttf-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511261521.hSYp4ttf-lkp@intel.com/

All errors (new ones prefixed by >>):

   /usr/bin/ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
   /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `max77759_charger_probe':
>> max77759_charger.c:(.ltext+0x27b): undefined reference to `devm_regulator_register'
   /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `enable_usb_otg':
>> max77759_charger.c:(.ltext+0x983): undefined reference to `rdev_get_drvdata'
   /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `disable_usb_otg':
   max77759_charger.c:(.ltext+0x9c3): undefined reference to `rdev_get_drvdata'
   /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `usb_otg_status':
   max77759_charger.c:(.ltext+0xa06): undefined reference to `rdev_get_drvdata'
   clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

* Re: [PATCH 5/6] power: supply: max77759: add charger driver
  2025-11-26  7:38 ` [PATCH 5/6] power: supply: max77759: add charger driver kernel test robot
@ 2025-11-26 22:04   ` Amit Sunil Dhamne
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Sunil Dhamne @ 2025-11-26 22:04 UTC (permalink / raw)
  To: kernel test robot, Amit Sunil Dhamne via B4 Relay,
	Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	André Draszik, Lee Jones, Greg Kroah-Hartman,
	Badhri Jagan Sridharan, Heikki Krogerus, Peter Griffin,
	Tudor Ambarus, Alim Akhtar
  Cc: llvm, oe-kbuild-all, linux-kernel, linux-pm, devicetree,
	linux-usb, linux-arm-kernel, linux-samsung-soc, RD Babiera,
	Kyle Tso


On 11/25/25 11:38 PM, kernel test robot wrote:
> Hi Amit,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on 39f90c1967215375f7d87b81d14b0f3ed6b40c29]
>
> url:    https://github.com/intel-lab-lkp/linux/commits/Amit-Sunil-Dhamne-via-B4-Relay/dt-bindings-power-supply-Add-Maxim-MAX77759-charger/20251123-163840
> base:   39f90c1967215375f7d87b81d14b0f3ed6b40c29
> patch link:    https://lore.kernel.org/r/20251123-max77759-charger-v1-5-6b2e4b8f7f54%40google.com
> patch subject: [PATCH 5/6] power: supply: max77759: add charger driver
> config: um-randconfig-001-20251126 (https://download.01.org/0day-ci/archive/20251126/202511261521.hSYp4ttf-lkp@intel.com/config)
> compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251126/202511261521.hSYp4ttf-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202511261521.hSYp4ttf-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>     /usr/bin/ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
>     /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `max77759_charger_probe':
>>> max77759_charger.c:(.ltext+0x27b): undefined reference to `devm_regulator_register'
>     /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `enable_usb_otg':
>>> max77759_charger.c:(.ltext+0x983): undefined reference to `rdev_get_drvdata'
>     /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `disable_usb_otg':
>     max77759_charger.c:(.ltext+0x9c3): undefined reference to `rdev_get_drvdata'
>     /usr/bin/ld: drivers/power/supply/max77759_charger.o: in function `usb_otg_status':
>     max77759_charger.c:(.ltext+0xa06): undefined reference to `rdev_get_drvdata'
>     clang: error: linker command failed with exit code 1 (use -v to see invocation)
I believe this is because of a missing "depends on REGULATOR". Will fix 
it in the next revision.

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

end of thread, other threads:[~2025-11-26 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251123-max77759-charger-v1-5-6b2e4b8f7f54@google.com>
2025-11-26  7:38 ` [PATCH 5/6] power: supply: max77759: add charger driver kernel test robot
2025-11-26 22:04   ` Amit Sunil Dhamne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox