Re: [PATCH v1] drm/tyr: make SRAM supply optional like panthor

From: kernel test robot

Date: Wed Feb 11 2026 - 22:37:11 EST


Hi Onur,

kernel test robot noticed the following build errors:

[auto build test ERROR on broonie-regulator/for-next]
[also build test ERROR on drm-i915/for-linux-next drm-i915/for-linux-next-fixes v6.19]
[cannot apply to drm-misc/drm-misc-next daeinki-drm-exynos/exynos-drm-next drm/drm-next drm-tip/drm-tip linus/master next-20260211]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Onur-zkan/drm-tyr-make-SRAM-supply-optional-like-panthor/20260212-035718
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
patch link: https://lore.kernel.org/r/20260211195406.289634-1-work%40onurozkan.dev
patch subject: [PATCH v1] drm/tyr: make SRAM supply optional like panthor
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260212/202602121116.499PMsGK-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260212/202602121116.499PMsGK-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602121116.499PMsGK-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `regulator_get_optional` in crate `bindings`
--> rust/kernel/regulator.rs:287:23
|
287 | bindings::regulator_get_optional(dev.as_raw(), name.as_char_ptr())
| ^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `regulator_get_voltage`
|
::: rust/bindings/bindings_helpers_generated.rs:1306:5
|
1306 | pub fn regulator_get_voltage(regulator: *mut regulator) -> ffi::c_int;
| ---------------------------------------------------------------------- similarly named function `regulator_get_voltage` defined here

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