[renesas-drivers:topic/fdp1-v2-rebased2 8/8] drivers/media/platform/rcar_fdp1.c:1972:18: error: initialization from incompatible pointer type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/fdp1-v2-rebased2
head:   86b4ca1f09bb40114845c618868d447769aef33e
commit: 86b4ca1f09bb40114845c618868d447769aef33e [8/8] v4l: platform: Add Renesas R-Car FDP1 Driver
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 86b4ca1f09bb40114845c618868d447769aef33e
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

>> drivers/media/platform/rcar_fdp1.c:1972:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .queue_setup  = fdp1_queue_setup,
                     ^
   drivers/media/platform/rcar_fdp1.c:1972:18: note: (near initialization for 'fdp1_qops.queue_setup')
   drivers/media/platform/rcar_fdp1.c: In function 'fdp1_probe':
   drivers/media/platform/rcar_fdp1.c:2264:20: error: implicit declaration of function 'vb2_dma_contig_init_ctx' [-Werror=implicit-function-declaration]
     fdp1->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev);
                       ^
   drivers/media/platform/rcar_fdp1.c:2264:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     fdp1->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev);
                     ^
   drivers/media/platform/rcar_fdp1.c:2331:2: error: implicit declaration of function 'vb2_dma_contig_cleanup_ctx' [-Werror=implicit-function-declaration]
     vb2_dma_contig_cleanup_ctx(fdp1->alloc_ctx);
     ^
   cc1: some warnings being treated as errors

vim +1972 drivers/media/platform/rcar_fdp1.c

  1966			WARN(!list_empty(&ctx->fdp1->hw_job_list),
  1967					"HW Job list not empty");
  1968		}
  1969	}
  1970	
  1971	static struct vb2_ops fdp1_qops = {
> 1972		.queue_setup	 = fdp1_queue_setup,
  1973		.buf_prepare	 = fdp1_buf_prepare,
  1974		.buf_queue	 = fdp1_buf_queue,
  1975		.start_streaming = fdp1_start_streaming,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux