diff options
| author | Jiapeng Chong <[email protected]> | 2024-05-31 09:16:43 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-04 02:30:03 +0000 |
| commit | 37a4b34ac92aae258a08c23f255356746ded0571 (patch) | |
| tree | c3c7cec7075beddf848f543e1a540a0ff2ce3e1e /lib/test_xarray.c | |
| parent | mm: sparse: consistently use _nr (diff) | |
| download | kernel-37a4b34ac92aae258a08c23f255356746ded0571.tar.gz kernel-37a4b34ac92aae258a08c23f255356746ded0571.zip | |
mm: userfaultfd: use swap() in double_pt_lock()
Use existing swap() function rather than duplicating its implementation.
./mm/userfaultfd.c:1006:13-14: WARNING opportunity for swap()
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiapeng Chong <[email protected]>
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9266
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
