From: Meelis Roos <mroos@linux.ee>
To: Gerd Knorr <kraxel@bytesex.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: video-buf warning
Date: Wed, 28 Apr 2004 11:57:38 +0300 (EEST) [thread overview]
Message-ID: <Pine.GSO.4.44.0404281150410.24906-100000@math.ut.ee> (raw)
This is 2.6.6-rc3 on a sparc64. The warning has been there for quite
some time, finally got around to report it.
CC [M] drivers/media/video/video-buf.o
drivers/media/video/video-buf.c: In function `videobuf_iolock':
drivers/media/video/video-buf.c:327: warning: cast from pointer to integer of different size
The specific code is
/* FIXME: need sanity checks for vb->boff */
bus = (dma_addr_t)fbuf->base + vb->boff;
bus is dma_addr_t (==u32 on sparc64), base is void*
So if buf->base is really an arbitrary pointer, it might not fit into
u32. What is it actually?
--
Meelis Roos (mroos@linux.ee)
next reply other threads:[~2004-04-28 8:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-28 8:57 Meelis Roos [this message]
2004-04-28 19:19 ` David S. Miller
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=Pine.GSO.4.44.0404281150410.24906-100000@math.ut.ee \
--to=mroos@linux.ee \
--cc=kraxel@bytesex.org \
--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®