[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180817185944.GG6515@ZenIV.linux.org.uk>
Date: Fri, 17 Aug 2018 19:59:44 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Ganesh Goudar <ganeshgr@...lsio.com>
Cc: Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>,
David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [endianness bug] cxgb4: mk_act_open_req() buggers
->{local,peer}_ip on big-endian hosts
On Fri, Aug 17, 2018 at 07:58:41PM +0100, Al Viro wrote:
> On Fri, Aug 17, 2018 at 07:09:49PM +0100, Al Viro wrote:
>
> > Re that code - are you sure it doesn't need le64_to_cpu(*src)? Because from what
> > I understand about PCI (which matches just fine to the comments in the same driver),
> > you probably do need that. Again, the only real way to find out is to test on
> > big-endian host...
>
> BTW, would that, by any chance, be an open-coded
> _iowrite64_copy(dst, src, EQ_UNIT/sizeof(u64))
__iowrite64_copy, even...
Powered by blists - more mailing lists