Re: [PATCH] parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers

From: Rolf Eike Beer
Date: Tue Apr 06 2021 - 04:49:46 EST


Am Dienstag, 6. April 2021, 06:59:29 CEST schrieb Gao Xiang:
> From: Gao Xiang <hsiangkao@xxxxxxxxxx>
>
> commit b344d6a83d01 ("parisc: add support for cmpxchg on u8 pointers")
> can generate a sparse warningi ("cast truncates bits from constant
^
> value"), which has been reported several times [1] [2] [3].

Attachment: signature.asc
Description: This is a digitally signed message part.