From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Miguel Angel Flores <maf@sombragris.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: aic7xxx driver large integer warning
Date: Tue, 07 Dec 2004 12:58:20 +0000 [thread overview]
Message-ID: <1102424299.17950.13.camel@localhost.localdomain> (raw)
In-Reply-To: <41B4971E.6060401@sombragris.com>
On Llu, 2004-12-06 at 17:30, Miguel Angel Flores wrote:
> Sure, but the 39 bit variable is only used when the type of dma_addr_t
> is u64. I think that is more clean to put this assignement inside the if
> block, like the rest of the CONFIG_HIGHMEM64G code. Anyway the
> (dma_addr_t) cast can be added too.
>
> ¿how you would solve this?
I'd just add the cast. The compiler will truncate it to FFFFFFFF if
appropriate.
prev parent reply other threads:[~2004-12-07 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-06 0:23 aic7xxx driver large integer warning Miguel Angel Flores
2004-12-06 13:31 ` Alan Cox
2004-12-06 17:30 ` Miguel Angel Flores
2004-12-07 12:58 ` Alan Cox [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=1102424299.17950.13.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=maf@sombragris.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.