From: Kartik Babu <kbabu@automatika.com>
To: linux-kernel@vger.kernel.org
Subject: dma_alloc_coherent
Date: Tue, 04 Apr 2006 14:07:20 -0400 [thread overview]
Message-ID: <4432B5D8.5050003@automatika.com> (raw)
I'm trying to replace consistent_alloc in a driver that was written
for the 2.4 kernel with dma_alloc_coherent. My question is that I do not
use a struct device * pointer at all. Browsing through the source for
the 2.6.12
on ARM XScale PXA255, I see that this argument may be NULL.
Still, I'd like to know if passing NULL has any side effects. If so,
what are they?
I do however have a cdev structure taht I use for device registration,
but I do not see how that would help.
Thanks
Kartik
next reply other threads:[~2006-04-04 18:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 18:07 Kartik Babu [this message]
[not found] <5XY8B-82x-1@gated-at.bofh.it>
2006-04-04 23:45 ` dma_alloc_coherent Robert Hancock
2006-04-05 14:12 ` dma_alloc_coherent Kartik Babu
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=4432B5D8.5050003@automatika.com \
--to=kbabu@automatika.com \
--cc=linux-kernel@vger.kernel.org \
/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