Re: drivers/of/unittest.c:573:43: error: 'struct device_node' has no member named 'kobj'

From: Christian A. Ehrhardt
Date: Mon Jan 29 2024 - 13:59:40 EST



Hi,

On Mon, Jan 29, 2024 at 05:43:34PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 41bccc98fb7931d63d03f326a746ac4d429c1dd3
> commit: 4dde83569832f9377362e50f7748463340c5db6b of: Fix double free in of_parse_phandle_with_args_map
> date: 3 weeks ago
> config: arc-randconfig-r031-20230520 (https://download.01.org/0day-ci/archive/20240129/202401291740.VP219WIz-lkp@xxxxxxxxx/config)
> compiler: arc-elf-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240129/202401291740.VP219WIz-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/202401291740.VP219WIz-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> drivers/of/unittest.c: In function 'of_unittest_parse_phandle_with_args_map':

My fault. Sorry. I will send a fix.

regards Christian