Re: undefined reference to `dma_common_mmap'

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

 



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@xxxxxxxxxxxxxxx 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
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux