diff options
author | Bastien Curutchet <bastien.curutchet@bootlin.com> | 2024-10-21 17:13:25 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-29 18:45:22 -0600 |
commit | 7a7b13838f11f6dbb3049a44b8884e9139f39b5e (patch) | |
tree | fd8076ad33fb9464e688b46803b4f3373c572903 /arch/arm | |
parent | bef9fdbed2e525ce9264d2ae2fbcb37db7472052 (diff) | |
download | u-boot-7a7b13838f11f6dbb3049a44b8884e9139f39b5e.tar.gz |
memory: ti-aemif: Correct macro to ensure avoiding precedence issues
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@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions