]> git.baikalelectronics.ru Git - kernel.git/commit
tools/testing/selftests/vm/userfaultfd.c: use swap() to make code cleaner
authorchiminghao <chi.minghao@zte.com.cn>
Fri, 14 Jan 2022 22:05:48 +0000 (14:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:27 +0000 (16:30 +0200)
commitccdc379c9e3284a154515e63222e806963a19de2
tree8c6beaf481c2048746d2f38d8188102ea0135298
parent22087e4940029c417bc7de61b8b42524c5f174bd
tools/testing/selftests/vm/userfaultfd.c: use swap() to make code cleaner

Fix the following coccicheck REVIEW:

 tools/testing/selftests/vm/userfaultfd.c:1531:21-22:use swap() to make code cleaner

Link: https://lkml.kernel.org/r/20211124031632.35317-1-chi.minghao@zte.com.cn
Signed-off-by: chiminghao <chi.minghao@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/userfaultfd.c