[rtems commit] Correct a missing space in a fdt_header cast
Sebastian Huber
sebh at rtems.org
Thu Jul 19 05:07:41 UTC 2018
Module: rtems
Branch: master
Commit: 8bbd8c784d76ccfd2950f026199d9b07a1af69fb
Changeset: http://git.rtems.org/rtems/commit/?id=8bbd8c784d76ccfd2950f026199d9b07a1af69fb
Author: Simon Glass <sjg at chromium.org>
Date: Sun Mar 6 20:12:48 2016 -0700
Correct a missing space in a fdt_header cast
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 2c7b4e8..36222fd 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);
More information about the vc
mailing list