Re: [PATCH 1/1] of: unittest: Fix test build on config without CONFIG_OF_ADDRESS

From: Rob Herring
Date: Fri Oct 27 2023 - 17:38:31 EST



On Fri, 27 Oct 2023 12:24:37 +0200, Herve Codina wrote:
> of_address_to_resource() is not defined if !CONFIG_OF_ADDRESS.
>
> Return early in of_unittest_check_addr() to avoid the
> of_address_to_resource() usage.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202310271513.8MUErCK4-lkp@xxxxxxxxx/
> Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>
> ---
> Rob,
>
> This fixes a patch you already applied from my series
> https://lore.kernel.org/all/20231017110221.189299-1-herve.codina@xxxxxxxxxxx/
>
> I don't know if it's too late or not but maybe you can squash this fix patch.
>
> My apologies for this issue.
>
> Hervé
>
> drivers/of/unittest.c | 3 +++
> 1 file changed, 3 insertions(+)
>

Squashed and applied, thanks!