Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1415523

Re: undefined reference to `dma_common_mmap'

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: undefined reference to `dma_common_mmap'
Date 2016-06-07 00:40 +0200
Message-ID <rHblE-2zv-19@gated-at.bofh.it> (permalink)
References <rGUXw-u6-13@gated-at.bofh.it> <rHblE-2zv-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday 06 June 2016 09:37 AM, Sudip Mukherjee wrote:
> On Thu, Jan 10, 2002 at 12:50:58AM +0800, kbuild test robot wrote:
>> Hi,
>>
>> It's probably a bug fix that unveils the link errors.
>>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head:   af8c34ce6ae32addda3788d54a7e340cad22516b
>> commit: 420520766a796d36076111139ba1e4fb1aadeadd [media] media: Kconfig: add dependency of HAS_DMA
>> date:   in the future
>> 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 420520766a796d36076111139ba1e4fb1aadeadd
>>          # save the attached .config to linux build tree
>>          make.cross ARCH=m32r
>
> Thanks, i will reproduce this tonight and see. But just fyi, i am no
> longer using my sudip@vectorindia.org because of a change in dayjob.
> I would have missed this mail unless the date of the mail was showing
> as Jan 10, 2002.

Before this patch m32r allyesconfig used to fail with the error:
../drivers/media/v4l2-core/videobuf2-dma-contig.c: In function 
'vb2_dc_get_userptr':
../drivers/media/v4l2-core/videobuf2-dma-contig.c:484:28: error: 
implicit declaration of function 'dma_get_cache_alignment' 
[-Werror=implicit-function-declaration]
   unsigned long dma_align = dma_get_cache_alignment();

and build never went past this point. This concerned patch fixed the 
error and brought out new errors which were never known before this patch.

Regards
Sudip

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: undefined reference to `dma_common_mmap' Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-06-07 00:40 +0200

csiph-web