[radeon-alex:amd-staging-drm-next 690/717] drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:272:7: error: implicit declaration of function 'set_pages_array_uc'; did you mean 'ttm_set_pages_array_uc'?
kbuild test robot
lkp at intel.com
Tue Jul 31 22:59:47 UTC 2018
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head: 5bb19d15d8f29153cdb83ceb9ccc78dce4cd31e4
commit: b6fde54f62b2e7da0ce5361746ddb81f52bfe6d9 [690/717] drm/ttm: clean up non-x86 definitions on ttm_page_alloc_dma
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.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 b6fde54f62b2e7da0ce5361746ddb81f52bfe6d9
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=ia64
All errors (new ones prefixed by >>):
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c: In function 'ttm_set_pages_caching':
>> drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:272:7: error: implicit declaration of function 'set_pages_array_uc'; did you mean 'ttm_set_pages_array_uc'? [-Werror=implicit-function-declaration]
r = set_pages_array_uc(pages, cpages);
^~~~~~~~~~~~~~~~~~
ttm_set_pages_array_uc
cc1: some warnings being treated as errors
vim +272 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
2334b75f Konrad Rzeszutek Wilk 2011-11-03 265
2334b75f Konrad Rzeszutek Wilk 2011-11-03 266 static int ttm_set_pages_caching(struct dma_pool *pool,
2334b75f Konrad Rzeszutek Wilk 2011-11-03 267 struct page **pages, unsigned cpages)
2334b75f Konrad Rzeszutek Wilk 2011-11-03 268 {
2334b75f Konrad Rzeszutek Wilk 2011-11-03 269 int r = 0;
2334b75f Konrad Rzeszutek Wilk 2011-11-03 270 /* Set page caching */
2334b75f Konrad Rzeszutek Wilk 2011-11-03 271 if (pool->type & IS_UC) {
2334b75f Konrad Rzeszutek Wilk 2011-11-03 @272 r = set_pages_array_uc(pages, cpages);
2334b75f Konrad Rzeszutek Wilk 2011-11-03 273 if (r)
25d0479a Joe Perches 2012-03-16 274 pr_err("%s: Failed to set %d pages to uc!\n",
2334b75f Konrad Rzeszutek Wilk 2011-11-03 275 pool->dev_name, cpages);
2334b75f Konrad Rzeszutek Wilk 2011-11-03 276 }
2334b75f Konrad Rzeszutek Wilk 2011-11-03 277 if (pool->type & IS_WC) {
b6fde54f Huang Rui 2018-07-26 278 r = ttm_set_pages_array_wc(pages, cpages);
2334b75f Konrad Rzeszutek Wilk 2011-11-03 279 if (r)
25d0479a Joe Perches 2012-03-16 280 pr_err("%s: Failed to set %d pages to wc!\n",
2334b75f Konrad Rzeszutek Wilk 2011-11-03 281 pool->dev_name, cpages);
2334b75f Konrad Rzeszutek Wilk 2011-11-03 282 }
2334b75f Konrad Rzeszutek Wilk 2011-11-03 283 return r;
2334b75f Konrad Rzeszutek Wilk 2011-11-03 284 }
2334b75f Konrad Rzeszutek Wilk 2011-11-03 285
:::::: The code at line 272 was first introduced by commit
:::::: 2334b75ffbef6b8932f09ec4418b65ddb764ae99 drm/ttm: provide dma aware ttm page pool code V9
:::::: TO: Konrad Rzeszutek Wilk <konrad.wilk at oracle.com>
:::::: CC: Dave Airlie <airlied at redhat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 50908 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180801/d8d69a9c/attachment-0001.gz>
More information about the dri-devel
mailing list