From: Marin Mitov <mitov@issp.bas.bg>
To: "Greg Kroah-Hartman" <gregkh@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH]internal struct dma_coherent_mem, change type of a member.
Date: Mon, 31 May 2010 13:03:04 +0300 [thread overview]
Message-ID: <201005311303.04788.mitov@issp.bas.bg> (raw)
Hi Greg,
struct dma_coherent_mem in drivers/base/dma-coherent.c
has member 'device_base' that is of type u32,
but is assigned value of type dma_addr_t, which may be
64 bits for x86_64. Change the type to dma_addr_t.
Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
==================================================================
--- a/drivers/base/dma-coherent.c 2010-05-31 11:28:35.000000000 +0300
+++ b/drivers/base/dma-coherent.c 2010-05-31 11:29:43.000000000 +0300
@@ -8,7 +8,7 @@
struct dma_coherent_mem {
void *virt_base;
- u32 device_base;
+ dma_addr_t device_base;
int size;
int flags;
unsigned long *bitmap;
reply other threads:[~2010-05-31 10:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201005311303.04788.mitov@issp.bas.bg \
--to=mitov@issp.bas.bg \
--cc=gregkh@suse.de \
--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
all inboxes | Powered by JetHome®