tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 1ff5403385648b1554fd1aeffffdeec71d9cd41c commit: 386a35eb70569b3158392eb573fe42589a669da4 [2650/6329] media: tw9910.h: remove obsolete soc_camera.h include. config: sh-migor_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 386a35eb70569b3158392eb573fe42589a669da4 # save the attached .config to linux build tree GCC_VERSION=8.2.0 make.cross ARCH=sh All errors (new ones prefixed by >>): arch/sh/boards/mach-migor/setup.c: In function 'migor_devices_setup': >> arch/sh/boards/mach-migor/setup.c:605:2: error: implicit declaration of function 'dma_declare_coherent_memory' [-Werror=implicit-function-declaration] dma_declare_coherent_memory(&migor_ceu_device.dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/sh/boards/mach-migor/setup.c:608:9: error: 'DMA_MEMORY_EXCLUSIVE' undeclared (first use in this function); did you mean 'WQ_FLAG_EXCLUSIVE'? DMA_MEMORY_EXCLUSIVE); ^~~~~~~~~~~~~~~~~~~~ WQ_FLAG_EXCLUSIVE arch/sh/boards/mach-migor/setup.c:608:9: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors vim +/dma_declare_coherent_memory +605 arch/sh/boards/mach-migor/setup.c 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 551 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 552 /* CEU */ 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 553 gpio_request(GPIO_FN_VIO_CLK2, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 554 gpio_request(GPIO_FN_VIO_VD2, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 555 gpio_request(GPIO_FN_VIO_HD2, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 556 gpio_request(GPIO_FN_VIO_FLD, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 557 gpio_request(GPIO_FN_VIO_CKO, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 558 gpio_request(GPIO_FN_VIO_D15, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 559 gpio_request(GPIO_FN_VIO_D14, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 560 gpio_request(GPIO_FN_VIO_D13, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 561 gpio_request(GPIO_FN_VIO_D12, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 562 gpio_request(GPIO_FN_VIO_D11, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 563 gpio_request(GPIO_FN_VIO_D10, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 564 gpio_request(GPIO_FN_VIO_D9, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 565 gpio_request(GPIO_FN_VIO_D8, NULL); 91b6f3c525 arch/sh/boards/mach-migor/setup.c Magnus Damm 2008-10-08 566 9d56dd3b08 arch/sh/boards/mach-migor/setup.c Paul Mundt 2010-01-26 567 __raw_writew(__raw_readw(PORT_MSELCRB) | 0x2000, PORT_MSELCRB); /* D15->D8 */ 1765534c23 arch/sh/boards/renesas/migor/setup.c Magnus Damm 2008-07-28 568 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 569 /* SIU: Port B */ 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 570 gpio_request(GPIO_FN_SIUBOLR, NULL); 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 571 gpio_request(GPIO_FN_SIUBOBT, NULL); 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 572 gpio_request(GPIO_FN_SIUBISLD, NULL); 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 573 gpio_request(GPIO_FN_SIUBOSLD, NULL); 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 574 gpio_request(GPIO_FN_SIUMCKB, NULL); 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 575 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 576 /* 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 577 * The original driver sets SIUB OLR/OBT, ILR/IBT, and SIUA OLR/OBT to 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 578 * output. Need only SIUB, set to output for master mode (table 34.2) 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 579 */ 7d0b0a4434 arch/sh/boards/mach-migor/setup.c Paul Mundt 2010-03-02 580 __raw_writew(__raw_readw(PORT_MSELCRA) | 1, PORT_MSELCRA); 920925f90f arch/sh/boards/mach-migor/setup.c Guennadi Liakhovetski 2010-01-19 581 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 582 /* 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 583 * Use 10 MHz VIO_CKO instead of 24 MHz to work around signal quality 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 584 * issues on Panel Board V2.1. 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 585 */ 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 586 video_clk = clk_get(NULL, "video_clk"); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 587 if (!IS_ERR(video_clk)) { 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 588 clk_set_rate(video_clk, clk_round_rate(video_clk, 10000000)); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 589 clk_put(video_clk); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 590 } 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 591 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 592 /* Add a clock alias for ov7725 xclk source. */ 89ce93fd5b arch/sh/boards/mach-migor/setup.c Akinobu Mita 2018-05-06 593 clk_add_alias(NULL, "0-0021", "video_clk", NULL); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 594 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 595 /* Register GPIOs for video sources. */ 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 596 gpiod_add_lookup_table(&ov7725_gpios); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 597 gpiod_add_lookup_table(&tw9910_gpios); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 598 0c6111eccc arch/sh/boards/renesas/migor/setup.c Magnus Damm 2008-03-25 599 i2c_register_board_info(0, migor_i2c_devices, 0c6111eccc arch/sh/boards/renesas/migor/setup.c Magnus Damm 2008-03-25 600 ARRAY_SIZE(migor_i2c_devices)); 0c6111eccc arch/sh/boards/renesas/migor/setup.c Magnus Damm 2008-03-25 601 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 602 /* Initialize CEU platform device separately to map memory first */ 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 603 device_initialize(&migor_ceu_device.dev); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 604 arch_setup_pdev_archdata(&migor_ceu_device); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 @605 dma_declare_coherent_memory(&migor_ceu_device.dev, 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 606 ceu_dma_membase, ceu_dma_membase, 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 607 ceu_dma_membase + CEU_BUFFER_MEMORY_SIZE - 1, 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 @608 DMA_MEMORY_EXCLUSIVE); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 609 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 610 platform_device_add(&migor_ceu_device); 186c446f4b arch/sh/boards/mach-migor/setup.c Jacopo Mondi 2018-02-21 611 70f784ec1d arch/sh/boards/renesas/migor/setup.c Magnus Damm 2008-02-07 612 return platform_add_devices(migor_devices, ARRAY_SIZE(migor_devices)); 70f784ec1d arch/sh/boards/renesas/migor/setup.c Magnus Damm 2008-02-07 613 } ba3a170191 arch/sh/boards/mach-migor/setup.c Magnus Damm 2009-08-13 614 arch_initcall(migor_devices_setup); 0ec80fddf1 arch/sh/boards/mach-migor/setup.c Magnus Damm 2009-06-03 615 :::::: The code at line 605 was first introduced by commit :::::: 186c446f4b840bd77b79d3dc951ca436cb8abe79 media: arch: sh: migor: Use new renesas-ceu camera driver :::::: TO: Jacopo Mondi <jacopo+renesas@xxxxxxxxxx> :::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip