Re: [PATCH 3/3] fbdev/simplefb: Add support for interconnect paths
From: kernel test robot
Date: Sat Jun 21 2025 - 22:23:02 EST
Hi Luca,
kernel test robot noticed the following build errors:
[auto build test ERROR on 19272b37aa4f83ca52bdf9c16d5d81bdd1354494]
url: https://github.com/intel-lab-lkp/linux/commits/Luca-Weiss/dt-bindings-display-simple-framebuffer-Add-interconnects-property/20250620-183302
base: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
patch link: https://lore.kernel.org/r/20250620-simple-drm-fb-icc-v1-3-d92142e8f74f%40fairphone.com
patch subject: [PATCH 3/3] fbdev/simplefb: Add support for interconnect paths
config: sparc-randconfig-r063-20250622 (https://download.01.org/0day-ci/archive/20250622/202506221019.ooLo1xBw-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250622/202506221019.ooLo1xBw-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/202506221019.ooLo1xBw-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/video/fbdev/simplefb.c: In function 'simplefb_detach_icc':
>> drivers/video/fbdev/simplefb.c:542:14: error: 'struct simplefb_par' has no member named 'icc_count'
542 | for (i = par->icc_count - 1; i >= 0; i--) {
| ^~
>> drivers/video/fbdev/simplefb.c:543:26: error: 'struct simplefb_par' has no member named 'icc_paths'
543 | if (!IS_ERR_OR_NULL(par->icc_paths[i]))
| ^~
drivers/video/fbdev/simplefb.c:544:15: error: 'struct simplefb_par' has no member named 'icc_paths'
544 | icc_put(par->icc_paths[i]);
| ^~
drivers/video/fbdev/simplefb.c: In function 'simplefb_attach_icc':
drivers/video/fbdev/simplefb.c:564:5: error: 'struct simplefb_par' has no member named 'icc_count'
564 | par->icc_count = count / 2;
| ^~
drivers/video/fbdev/simplefb.c:566:5: error: 'struct simplefb_par' has no member named 'icc_paths'
566 | par->icc_paths = devm_kcalloc(dev, par->icc_count,
| ^~
drivers/video/fbdev/simplefb.c:566:40: error: 'struct simplefb_par' has no member named 'icc_count'
566 | par->icc_paths = devm_kcalloc(dev, par->icc_count,
| ^~
drivers/video/fbdev/simplefb.c:567:22: error: 'struct simplefb_par' has no member named 'icc_paths'
567 | sizeof(*par->icc_paths),
| ^~
drivers/video/fbdev/simplefb.c:569:10: error: 'struct simplefb_par' has no member named 'icc_paths'
569 | if (!par->icc_paths)
| ^~
drivers/video/fbdev/simplefb.c:572:21: error: 'struct simplefb_par' has no member named 'icc_count'
572 | for (i = 0; i < par->icc_count; i++) {
| ^~
drivers/video/fbdev/simplefb.c:573:6: error: 'struct simplefb_par' has no member named 'icc_paths'
573 | par->icc_paths[i] = of_icc_get_by_index(dev, i);
| ^~
drivers/video/fbdev/simplefb.c:574:25: error: 'struct simplefb_par' has no member named 'icc_paths'
574 | if (IS_ERR_OR_NULL(par->icc_paths[i])) {
| ^~
drivers/video/fbdev/simplefb.c:575:21: error: 'struct simplefb_par' has no member named 'icc_paths'
575 | ret = PTR_ERR(par->icc_paths[i]);
| ^~
drivers/video/fbdev/simplefb.c:582:23: error: 'struct simplefb_par' has no member named 'icc_paths'
582 | ret = icc_set_bw(par->icc_paths[i], 0, UINT_MAX);
| ^~
drivers/video/fbdev/simplefb.c:594:26: error: 'struct simplefb_par' has no member named 'icc_paths'
594 | if (!IS_ERR_OR_NULL(par->icc_paths[i]))
| ^~
drivers/video/fbdev/simplefb.c:595:15: error: 'struct simplefb_par' has no member named 'icc_paths'
595 | icc_put(par->icc_paths[i]);
| ^~
vim +542 drivers/video/fbdev/simplefb.c
532
533 #if defined CONFIG_OF && defined CONFIG_PM_GENERIC_DOMAINS
534 /*
535 * Generic interconnect path handling code.
536 */
537 static void simplefb_detach_icc(void *res)
538 {
539 struct simplefb_par *par = res;
540 int i;
541
> 542 for (i = par->icc_count - 1; i >= 0; i--) {
> 543 if (!IS_ERR_OR_NULL(par->icc_paths[i]))
544 icc_put(par->icc_paths[i]);
545 }
546 }
547
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki