diff options
author | Gao Xiang <[email protected]> | 2021-04-06 12:59:29 +0800 |
---|---|---|
committer | Helge Deller <[email protected]> | 2021-04-06 14:32:12 +0200 |
commit | 4d752e5af63753ab5140fc282929b98eaa4bd12e (patch) | |
tree | 240e2bd2a50a1048a87abf6594ac02ca846a3c55 /scripts/gdb/linux/tasks.py | |
parent | 9054284e8846b0105aad43a4e7174ca29fffbc44 (diff) |
parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
commit b344d6a83d01 ("parisc: add support for cmpxchg on u8 pointers")
can generate a sparse warning ("cast truncates bits from constant
value"), which has been reported several times [1] [2] [3].
The original code worked as expected, but anyway, let silence such
sparse warning as what others did [4].
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]
[3] https://lore.kernel.org/r/202008210829.KVwn7Xeh%[email protected]
[4] https://lore.kernel.org/r/[email protected]
Cc: Liam Beguin <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: [email protected] # v5.8+
Signed-off-by: Gao Xiang <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions