[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211104210637.3c424bcc@elm.ozlabs.ibm.com>
Date: Thu, 4 Nov 2021 21:06:56 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: davidcomponentone@...il.com
Cc: mpe@...erman.id.au, benh@...nel.crashing.org, paulus@...ba.org,
nathan@...nel.org, sfr@...b.auug.org.au, sxwjean@...il.com,
aneesh.kumar@...ux.ibm.com, yang.guang5@....com.cn,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] powerpc: use swap() to make code cleaner
Hi,
On Thu, 4 Nov 2021 14:17:09 +0800 davidcomponentone@...il.com wrote:
>
> From: Yang Guang <yang.guang5@....com.cn>
>
> 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
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists