From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: no To-header on input <kbuild-all@01.org>,
linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <m.chehab@samsung.com>,
linux-media@vger.kernel.org
Subject: Re: undefined reference to `dma_common_mmap'
Date: Mon, 06 Jun 2016 23:32:27 +0100 [thread overview]
Message-ID: <5755F9FB.9050309@gmail.com> (raw)
In-Reply-To: <20160606083705.GA2324@sudip-tp>
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
prev parent reply other threads:[~2016-06-06 22:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-09 16:50 undefined reference to `dma_common_mmap' kbuild test robot
[not found] ` <20160606083705.GA2324@sudip-tp>
2016-06-06 22:32 ` Sudip Mukherjee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5755F9FB.9050309@gmail.com \
--to=sudipm.mukherjee@gmail.com \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox