diff options
author | Igor Grinberg | 2011-11-07 01:14:06 +0000 |
---|---|---|
committer | Stefano Babic | 2011-11-22 08:39:26 +0100 |
commit | bd2a23ac61f0c67d2d8dd510a53040e4d88a8d5a (patch) | |
tree | 9bf2942f3455d41c24f677343a632bc7fe55bd21 /common/cmd_mtdparts.c | |
parent | e8db8f71c9e42f40312e60f9d8ba7b252d4366ce (diff) |
env: clean env_embedded.c checkpatch and code style
Cleanup the env_embedded.c checkpatch warnings, errors and coding style.
There is one error left though:
ERROR: Macros with multiple statements should be enclosed in a do - while loop
#79: FILE: u-boot/common/env_embedded.c:79:
+#define GEN_ABS(name, value) \
+ asm(".globl " GEN_SYMNAME(name)); \
+ GEN_SET_VALUE(name, value)
total: 1 errors, 0 warnings, 213 lines checked
We cannot enclose that statement in a do - while loop,
because these are a global assembly declarations.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'common/cmd_mtdparts.c')
0 files changed, 0 insertions, 0 deletions