Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

env_embedded.c

  • Igor Grinberg's avatar
    bd2a23ac
    env: clean env_embedded.c checkpatch and code style · bd2a23ac
    Igor Grinberg authored
    
    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: default avatarIgor Grinberg <grinberg@compulab.co.il>
    bd2a23ac
    History
    env: clean env_embedded.c checkpatch and code style
    Igor Grinberg authored
    
    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: default avatarIgor Grinberg <grinberg@compulab.co.il>