[Crosstoolchain-logs] [device-tree-compiler] 178/198: Correct a missing space in a fdt_header cast

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:07:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.4.x
in repository device-tree-compiler.

commit beef80b8b55f32e5d3338ac13429382336e38ead
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>
---
 libfdt/libfdt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
index 2c7b4e8..36222fd 100644
--- a/libfdt/libfdt.h
+++ b/libfdt/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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list