Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

env_embedded.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • 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>