[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1230714541.15389.69.camel@pasglop>
Date: Wed, 31 Dec 2008 20:09:01 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: David Miller <davem@...emloft.net>
Cc: sfr@...b.auug.org.au, tklein@...ibm.com, netdev@...r.kernel.org,
raisch@...ibm.com, themann@...ibm.com, linuxppc-dev@...abs.org
Subject: Re: [PATCH] net/ehea: use consistent type
On Tue, 2008-12-30 at 21:51 -0800, David Miller wrote:
> From: Stephen Rothwell <sfr@...b.auug.org.au>
> Date: Wed, 31 Dec 2008 14:17:30 +1100
>
> > ehea_plpar_hcall9() takes an unsigned long array, so pass that.
> >
> > This change will avoid some warnings when we change u64 to unsigned
> > long long.
> >
> > Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
>
> Patch rejected, for the same reasons as the other driver
> change.
>
> We're not going to poop up some drivers with the assumption that long
> is 64-bit.
Well, in that case, this patch is actually correct without considering
the u64 change. The array is what lands in the registers of the pHyp
call, so strictly speaking, it's an array of unsigned long's (ie, 32-bit
on a 32-bit platform, 64-bit on a 64-bit platform), not an array of
u64's. This function being a wrapper on that pHyp call, it may as well
use the right type.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists