[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ace0b95ad77fe044881068a4cf1944e10b306730.camel@linaro.org>
Date: Fri, 26 Jul 2024 07:02:11 +0100
From: André Draszik <andre.draszik@...aro.org>
To: Vinod Koul <vkoul@...nel.org>, Kishon Vijay Abraham I
<kishon@...nel.org>, Krzysztof Kozlowski <krzk@...nel.org>, Alim Akhtar
<alim.akhtar@...sung.com>
Cc: Peter Griffin <peter.griffin@...aro.org>, Tudor Ambarus
<tudor.ambarus@...aro.org>, Will McVicker <willmcvicker@...gle.com>,
kernel-team@...roid.com, linux-phy@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] phy: exynos5-usbdrd: convert some FIELD_PREP_CONST() to
FIELD_PREP()
Hi,
On Wed, 2024-07-10 at 07:45 +0100, André Draszik wrote:
> Use of FIELD_PREP_CONST() was a thinko - it's meant to be used for
> (constant) initialisers, not constant values.
>
> Use FIELD_PREP() where possible. It has better error checking and is
> therefore the preferred macro to use in those cases.
>
> Signed-off-by: André Draszik <andre.draszik@...aro.org>
> ---
> drivers/phy/samsung/phy-exynos5-usbdrd.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
Any comments on this patch?
Cheers,
Andre'
Powered by blists - more mailing lists