Re: [PATCH 1/2] asm-generic/io.h: suppress endianness warnings for readq() and writeq()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx/
>> Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
>> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>

>>
>
> 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



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux