Re: [PATCH] net/mlx5: use swap() to make code cleaner

From: Saeed Mahameed
Date: Thu Nov 04 2021 - 01:26:27 EST


On Thu, 2021-11-04 at 09:17 +0800, davidcomponentone@xxxxxxxxx wrote:
> From: Yang Guang <yang.guang5@xxxxxxxxxx>
>
> Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
> opencoding it.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Yang Guang <yang.guang5@xxxxxxxxxx>

sorry you're too late, another patch was already submitted:
https://patchwork.kernel.org/project/netdevbpf/patch/20211103062111.3286-1-hanyihao@xxxxxxxx/