[PATCH 06/45] Correct a missing space in a fdt_header cast
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Jul 18 07:35:15 UTC 2018
From: Simon Glass <sjg at chromium.org>
The code style here is slightly incorrect. Fix it.
Signed-off-by: Simon Glass <sjg at chromium.org>
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
cpukit/include/libfdt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/include/libfdt.h b/cpukit/include/libfdt.h
index 2c7b4e876c..36222fd4a6 100644
--- a/cpukit/include/libfdt.h
+++ b/cpukit/include/libfdt.h
@@ -188,7 +188,7 @@ int fdt_next_subnode(const void *fdt, int offset);
#define __fdt_set_hdr(name) \
static inline void fdt_set_##name(void *fdt, uint32_t val) \
{ \
- struct fdt_header *fdth = (struct fdt_header*)fdt; \
+ struct fdt_header *fdth = (struct fdt_header *)fdt; \
fdth->name = cpu_to_fdt32(val); \
}
__fdt_set_hdr(magic);
--
2.13.7
More information about the devel
mailing list