lkml.org 
[lkml]   [2023]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] asm-generic/io.h: suppress endianness warnings for readq() and writeq()
On Fri, Mar 10, 2023, at 10:30, Vladimir Oltean wrote:
> Hi Arnd,
>
> On Mon, Jan 09, 2023 at 03:11:52PM +0200, Vladimir Oltean wrote:
>> Commit c1d55d50139b ("asm-generic/io.h: Fix sparse warnings on
>> big-endian architectures") missed fixing the 64-bit accessors.
>>
>> Arnd explains in the attached link why the casts are necessary, even if
>> __raw_readq() and __raw_writeq() do not take endian-specific types.
>>
>> Link: https://lore.kernel.org/lkml/9105d6fc-880b-4734-857d-e3d30b87ccf6@app.fastmail.com/
>> Suggested-by: Arnd Bergmann <arnd@arndb.de>
>> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>

>>
>
> Did these patches get lost?

Yes, sorry about that. I picked them up for 6.3 now, along with another
one that I just remembered.

Arnd

\
 
 \ /
  Last update: 2023-04-04 18:02    [W:0.064 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site