[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081224184220.GA15640@susedev.qlogic.org>
Date: Wed, 24 Dec 2008 10:42:20 -0800
From: Ron Mercer <ron.mercer@...gic.com>
To: Ben Hutchings <bhutchings@...arflare.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH 3/5] qlge: bugfix: Fix endian issue regarding shadow registers.
On Wed, Dec 24, 2008 at 10:35:31AM -0800, Ben Hutchings wrote:
> > +static inline u32 ql_read_sh_reg(const volatile void *addr)
> > {
> > - return *(volatile unsigned int __force *)addr;
> > + return le32_to_cpu(*(volatile unsigned int __force *)addr);
>
> I think that should be:
> return le32_to_cpu(*(const volatile __le32 *)addr);
>
> Ben.
Yes, you're right. I'll fix that and resend the patches after waiting
for more feedback.
Thanks!
--
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