Re: [PATCH] powerpc: use swap() to make code cleaner

From: Stephen Rothwell
Date: Thu Nov 04 2021 - 06:07:10 EST


Hi,

On Thu, 4 Nov 2021 14:17:09 +0800 davidcomponentone@xxxxxxxxx wrote:
>
> From: Yang Guang <yang.guang5@xxxxxxxxxx>
>
> Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
> opencoding it.

So if swap() is in the above include file, then you should include it.

--
Cheers,
Stephen Rothwell

Attachment: pgpl7mAoxNrnD.pgp
Description: OpenPGP digital signature