Re: [PATCH] Media: omap4iss: Enable RSZB and update resizer control

From: kernel test robot
Date: Mon Oct 30 2023 - 03:33:28 EST


Hi Nancy,

kernel test robot noticed the following build errors:

[auto build test ERROR on media-tree/master]
[also build test ERROR on linus/master v6.6-rc7 next-20231027]
[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/Nancy-Nyambura/Media-omap4iss-Enable-RSZB-and-update-resizer-control/20231030-060944
base: git://linuxtv.org/media_tree.git master
patch link: https://lore.kernel.org/r/20231029220710.47063-1-nicymimz%40gmail.com
patch subject: [PATCH] Media: omap4iss: Enable RSZB and update resizer control
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231030/202310301558.abL6OUgF-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231030/202310301558.abL6OUgF-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/202310301558.abL6OUgF-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_enable':
drivers/staging/media/omap4iss/iss_resizer.c:119:37: error: 'struct iss_device' has no member named 'base_addr'
119 | u32 reg_value = ioread32(iss->base_addr + OMAP4_ISS_MEM_ISP_RESIZER,
| ^~
drivers/staging/media/omap4iss/iss_resizer.c:120:27: error: 'RZ_SYSCONFIG' undeclared (first use in this function); did you mean 'RSZ_SYSCONFIG'?
120 | + RZ_SYSCONFIG);
| ^~~~~~~~~~~~
| RSZ_SYSCONFIG
drivers/staging/media/omap4iss/iss_resizer.c:120:27: note: each undeclared identifier is reported only once for each function it appears in
In file included from include/linux/scatterlist.h:9,
from include/linux/dma-mapping.h:11,
from drivers/staging/media/omap4iss/iss_resizer.c:14:
>> arch/alpha/include/asm/io.h:433:18: error: too many arguments to function 'ioread32'
433 | #define ioread32 ioread32
| ^~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c:119:25: note: in expansion of macro 'ioread32'
119 | u32 reg_value = ioread32(iss->base_addr + OMAP4_ISS_MEM_ISP_RESIZER,
| ^~~~~~~~
In file included from arch/alpha/include/asm/io.h:15:
include/asm-generic/iomap.h:32:21: note: declared here
32 | extern unsigned int ioread32(const void __iomem *);
| ^~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c:122:33: error: 'struct iss_device' has no member named 'base_addr'
122 | iowrite32(reg_value, iss->base_addr + OMAP4_ISS_MEM_ISP_RESIZER,
| ^~
>> arch/alpha/include/asm/io.h:435:19: error: too many arguments to function 'iowrite32'
435 | #define iowrite32 iowrite32
| ^~~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c:122:9: note: in expansion of macro 'iowrite32'
122 | iowrite32(reg_value, iss->base_addr + OMAP4_ISS_MEM_ISP_RESIZER,
| ^~~~~~~~~
include/asm-generic/iomap.h:53:13: note: declared here
53 | extern void iowrite32(u32, void __iomem *);
| ^~~~~~~~~


vim +/ioread32 +433 arch/alpha/include/asm/io.h

^1da177e4c3f41 include/asm-alpha/io.h Linus Torvalds 2005-04-16 432
7e772dad991399 arch/alpha/include/asm/io.h Linus Walleij 2022-09-06 @433 #define ioread32 ioread32
e19d4ebc536dad arch/alpha/include/asm/io.h Arnd Bergmann 2022-10-03 434 #define ioread64 ioread64
7e772dad991399 arch/alpha/include/asm/io.h Linus Walleij 2022-09-06 @435 #define iowrite32 iowrite32
e19d4ebc536dad arch/alpha/include/asm/io.h Arnd Bergmann 2022-10-03 436 #define iowrite64 iowrite64
7e772dad991399 arch/alpha/include/asm/io.h Linus Walleij 2022-09-06 437

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