[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arch
Subject: Re: [PATCH cmpxchg 08/14] parisc: add u16 support to cmpxchg()
From: Linus Torvalds <torvalds () linux-foundation ! org>
Date: 2024-04-08 20:10:40
Message-ID: CAHk-=whwbdbNXeJ0m+YZqZcxKPD3v4dbcPVCd6gP7YkwCM=X7w () mail ! gmail ! com
[Download RAW message or body]
On Mon, 8 Apr 2024 at 10:50, Paul E. McKenney <paulmck@kernel.org> wrote:
>
> And get rid of manual truncation down to u8, etc. in there - the
> only reason for those is to avoid bogus warnings about constant
> truncation from sparse, and those are easy to avoid by turning
> that switch into conditional expression.
I support the use of the conditional, but why add the 16-bit case when
it turns out we don't want it after all?
Linus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic