s-next.git main
patch link:
https://lore.kernel.org/r/20231122032518.53305-1-jiapeng.chong%40linux.alibaba.com
patch subject: [PATCH] um: Use swap() instead of open coding it
config: um-randconfig-001-20231122
(https://download.01.org/0day-ci/archive/20231123/202311230538.6fd2fqkl-...@intel.
s-next.git main
patch link:
https://lore.kernel.org/r/20231122032518.53305-1-jiapeng.chong%40linux.alibaba.com
patch subject: [PATCH] um: Use swap() instead of open coding it
config: um-randconfig-002-20231122
(https://download.01.org/0day-ci/archive/20231123/202311230408.brl1q7pc-...@intel.
On Wed, 2023-11-22 at 11:25 +0800, Jiapeng Chong wrote:
> Swap is a function interface that provides exchange function. To avoid
> code duplication, we can use swap function.
>
> ./arch/um/os-Linux/sigio.c:81:28-29: WARNING opportunity for swap().
>
Hm. There's already a use of swap() here in th
Swap is a function interface that provides exchange function. To avoid
code duplication, we can use swap function.
./arch/um/os-Linux/sigio.c:81:28-29: WARNING opportunity for swap().
Reported-by: Abaci Robot
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7607
Signed-off-by: Jiapeng Chon