Re: [PATCH] [media] v4l2: Add support for go2001 PCI codec driver

From: kbuild test robot
Date: Fri May 05 2017 - 02:48:58 EST

Hi Thierry,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.11 next-20170504]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: git:// master
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

drivers/media//pci/go2001/go2001_hw.c: In function 'go2001_map_buffer':
>> drivers/media//pci/go2001/go2001_hw.c:934:3: error: implicit declaration of function 'dma_cache_sync' [-Werror=implicit-function-declaration]
dma_cache_sync(dev, dma_desc->mmap_list, dma_desc->list_size,
cc1: some warnings being treated as errors

vim +/dma_cache_sync +934 drivers/media//pci/go2001/go2001_hw.c

928 list_desc->entry_count = dma_desc->num_entries;
929 list_desc->mmap_list_addr = dma_desc->dma_addr;
931 go2001_dbg(gdev, 4, "Mapping plane %u: 0x%08llx, chunks: %d in HW\n",
932 i, dma_desc->map_addr, dma_desc->num_entries);
933 go2001_print_mmap_list(gdev, dma_desc);
> 934 dma_cache_sync(dev, dma_desc->mmap_list, dma_desc->list_size,
936 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip