diff options
| author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-07-31 15:58:51 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:04:44 +0100 |
| commit | fbcd9eedce20105f243e079c9059fb862afe9a56 (patch) | |
| tree | 5d13e02e464962f2a4aaaa712695da1bb25177ff /include | |
| parent | 910d55f7d67dfa6170db3ae0bde9fe631cdcf027 (diff) | |
| download | linux-fbcd9eedce20105f243e079c9059fb862afe9a56.tar.gz linux-fbcd9eedce20105f243e079c9059fb862afe9a56.tar.bz2 linux-fbcd9eedce20105f243e079c9059fb862afe9a56.zip | |
locking/ww_mutex/test: Use swap() macro
[ Upstream commit 0d3547df6934b8f9600630322799a2a76b4567d8 ]
Fixes the following Coccinelle/coccicheck warning reported by
swap.cocci:
WARNING opportunity for swap()
Compile-tested only.
[Boqun: Add the report tags from Jiapeng and Abaci Robot [1].]
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reported-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11531
Link: https://lore.kernel.org/r/20241025081455.55089-1-jiapeng.chong@linux.alibaba.com [1]
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20240731135850.81018-2-thorsten.blum@toblux.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
