tree:
https://github.com/stffrdhrn/linux.git starfive-bad-dcache-flush
head: a5c948a9cc2b8944f00056c067fb7bde19b34843
commit: ff76d633fd1fcc65037af860aa54b91cac544d2d [19/39] drivers/video/fbdev and
drivers/media/platform: starfive drivers added
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/stffrdhrn/linux/commit/ff76d633fd1fcc65037af860aa54b91...
git remote add stffrdhrn
https://github.com/stffrdhrn/linux.git
git fetch --no-tags stffrdhrn starfive-bad-dcache-flush
git checkout ff76d633fd1fcc65037af860aa54b91cac544d2d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/media/platform/starfive/imx219_mipi.c:307:5: warning: no
previous prototype for 'mipicam_set_mode' [-Wmissing-prototypes]
307 |
int mipicam_set_mode(struct imx219 *imx219)
| ^~~~~~~~~~~~~~~~
--
drivers/media/platform/starfive/stf_vin.c: In function 'vin_wr_irq_handler':
> drivers/media/platform/starfive/stf_vin.c:561:18: warning: cast
to pointer from integer of different size [-Wint-to-pointer-cast]
561 |
params.paddr = (void *)vin->buf.paddr;
| ^
drivers/media/platform/starfive/stf_vin.c:563:18: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
563 | params.paddr = (void *)(vin->buf.paddr + vin->buf.size);
| ^
drivers/media/platform/starfive/stf_vin.c: At top level:
> drivers/media/platform/starfive/stf_vin.c:577:6: warning: no
previous prototype for 'vin_isp0_intr_clear' [-Wmissing-prototypes]
577
| void vin_isp0_intr_clear(struct stf_vin_dev *vin)
| ^~~~~~~~~~~~~~~~~~~
drivers/media/platform/starfive/stf_vin.c: In function 'vin_isp0_irq_handler':
drivers/media/platform/starfive/stf_vin.c:595:18: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
595 | params.paddr = (void *)vin->buf.paddr;
| ^
drivers/media/platform/starfive/stf_vin.c:600:18: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
600 | params.paddr = (void *)vin->buf.paddr;
| ^
drivers/media/platform/starfive/stf_vin.c: At top level:
drivers/media/platform/starfive/stf_vin.c:935:25: error: expected declaration
specifiers or '...' before string constant
935 | MODULE_SUPPORTED_DEVICE("video");
| ^~~~~~~
--
> drivers/media/platform/starfive/stf_event.c:17:5: warning: no
previous prototype for 'vin_notifier_register' [-Wmissing-prototypes]
17 | int vin_notifier_register(struct notifier_block *nb)
| ^~~~~~~~~~~~~~~~~~~~~
> drivers/media/platform/starfive/stf_event.c:23:6: warning: no
previous prototype for 'vin_notifier_unregister' [-Wmissing-prototypes]
23 | void vin_notifier_unregister(struct notifier_block *nb)
| ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/media/platform/starfive/stf_event.c:29:5: warning: no
previous prototype for 'vin_notifier_call' [-Wmissing-prototypes]
29 |
int vin_notifier_call(unsigned long e, void *v)
| ^~~~~~~~~~~~~~~~~
drivers/media/platform/starfive/stf_event.c:39:25: error: expected declaration
specifiers or '...' before string constant
39 | MODULE_SUPPORTED_DEVICE("video");
| ^~~~~~~
--
> drivers/media/platform/starfive/stf_isp.c:44:6: warning: no
previous prototype for 'isp_ddr_format_config' [-Wmissing-prototypes]
44 | void isp_ddr_format_config(struct stf_vin_dev *vin)
| ^~~~~~~~~~~~~~~~~~~~~
> drivers/media/platform/starfive/stf_isp.c:74:6: warning: no
previous prototype for 'isp_ddr_resolution_config' [-Wmissing-prototypes]
74 | void isp_ddr_resolution_config(struct stf_vin_dev *vin)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/media/platform/starfive/stf_isp.c:117:6: warning: no
previous prototype for 'isp_reset' [-Wmissing-prototypes]
117 | void
isp_reset(struct stf_vin_dev *vin)
| ^~~~~~~~~
> drivers/media/platform/starfive/stf_isp.c:132:6: warning: no
previous prototype for 'isp_enable' [-Wmissing-prototypes]
132 | void
isp_enable(struct stf_vin_dev *vin)
| ^~~~~~~~~~
> drivers/media/platform/starfive/stf_isp.c:149:6: warning: no
previous prototype for 'isp_dvp_2ndframe_config' [-Wmissing-prototypes]
149 | void isp_dvp_2ndframe_config(struct stf_vin_dev *vin)
| ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/media/platform/starfive/stf_isp.c:164:6: warning: no
previous prototype for 'isp_clk_set' [-Wmissing-prototypes]
164 | void
isp_clk_set(struct stf_vin_dev *vin)
| ^~~~~~~~~~~
> drivers/media/platform/starfive/stf_isp.c:194:6: warning: no
previous prototype for 'isp_ddr_config' [-Wmissing-prototypes]
194 |
void isp_ddr_config(struct stf_vin_dev *vin)
| ^~~~~~~~~~~~~~
> drivers/media/platform/starfive/stf_isp.c:371:6: warning: no
previous prototype for 'isp_config' [-Wmissing-prototypes]
371 | void
isp_config(struct stf_vin_dev *vin,int isp_id)
| ^~~~~~~~~~
vim +/mipicam_set_mode +307 drivers/media/platform/starfive/imx219_mipi.c
306
307 int mipicam_set_mode(struct imx219 *imx219)
308 {
309 imx219_stop(imx219);
310
311 return imx219_set_mode(imx219);
312 }
313
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org