diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-01-29 11:48:47 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-04 19:37:45 +1000 |
commit | 2077631917591650fdab5ec62717fd291a39b050 (patch) | |
tree | 2008045f31d9dd0cd5e9478f5c7990351b3f0d87 /drivers/macintosh | |
parent | e9bb94cde12d14e460b954f468af1200856564cf (diff) | |
download | linux-2077631917591650fdab5ec62717fd291a39b050.tar.gz linux-2077631917591650fdab5ec62717fd291a39b050.tar.bz2 linux-2077631917591650fdab5ec62717fd291a39b050.zip |
powerpc/fadump: Use swap() instead of open coding it
Clean the following coccicheck warning:
./arch/powerpc/kernel/fadump.c:1291:34-35: WARNING opportunity for
swap().
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220129034847.76902-1-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions