[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201607311003.WevX7O2J%fengguang.wu@intel.com>
Date: Sun, 31 Jul 2016 10:56:06 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Christoph Hellwig <hch@....de>,
Valentin Rothberg <valentinrothberg@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: drivers/media/v4l2-core/videobuf2-dma-contig.c:484:2: error:
implicit declaration of function 'dma_get_cache_alignment'
Hi,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7f155c702677d057d03b192ce652311de5434697
commit: e1c7e324539ada3b2b13ca2898bcb4948a9ef9db dma-mapping: always provide the dma_map_ops based implementation
date: 6 months ago
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 4.9.0
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 e1c7e324539ada3b2b13ca2898bcb4948a9ef9db
# save the attached .config to linux build tree
make.cross ARCH=m32r
All errors (new ones prefixed by >>):
drivers/media/v4l2-core/videobuf2-dma-contig.c: In function 'vb2_dc_get_userptr':
>> drivers/media/v4l2-core/videobuf2-dma-contig.c:484:2: error: implicit declaration of function 'dma_get_cache_alignment' [-Werror=implicit-function-declaration]
unsigned long dma_align = dma_get_cache_alignment();
^
cc1: some warnings being treated as errors
vim +/dma_get_cache_alignment +484 drivers/media/v4l2-core/videobuf2-dma-contig.c
fb639eb3 Jan Kara 2015-07-13 478 struct frame_vector *vec;
e15dab75 Tomasz Stanislawski 2012-06-14 479 unsigned long offset;
fb639eb3 Jan Kara 2015-07-13 480 int n_pages, i;
e15dab75 Tomasz Stanislawski 2012-06-14 481 int ret = 0;
e15dab75 Tomasz Stanislawski 2012-06-14 482 struct sg_table *sgt;
e15dab75 Tomasz Stanislawski 2012-06-14 483 unsigned long contig_size;
d81e870d Marek Szyprowski 2012-06-12 @484 unsigned long dma_align = dma_get_cache_alignment();
251a79f8 Hans Verkuil 2014-11-18 485 DEFINE_DMA_ATTRS(attrs);
251a79f8 Hans Verkuil 2014-11-18 486
251a79f8 Hans Verkuil 2014-11-18 487 dma_set_attr(DMA_ATTR_SKIP_CPU_SYNC, &attrs);
:::::: The code at line 484 was first introduced by commit
:::::: d81e870d5afa1b0a95ea94c4052d3c7e973fae8c [media] v4l: vb2-dma-contig: fail if user ptr buffer is not correctly aligned
:::::: TO: Marek Szyprowski <m.szyprowski@...sung.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@...hat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (34705 bytes)
Powered by blists - more mailing lists