[PATCH 1/6] memory: ti-aemif: Correct macro to ensure avoiding precedence issues
Tom Rini
trini at konsulko.com
Tue Oct 22 16:01:35 CEST 2024
On Mon, Oct 21, 2024 at 05:13:25PM +0200, Bastien Curutchet wrote:
> Fix following CHECK pointed out by checkpatch:
>
> CHECK: Macro argument 'cs' may be better as '(cs)' to avoid precedence issues
> #62: FILE: drivers/memory/ti-aemif.c:15:
> +#define AEMIF_CONFIG(cs) (0x10 + (cs * 4))
>
> Signed-off-by: Bastien Curutchet <bastien.curutchet at bootlin.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241022/3cd7193b/attachment.sig>
More information about the U-Boot
mailing list