Skip to content
Snippets Groups Projects
  1. Apr 27, 2018
  2. Apr 26, 2018
  3. Apr 25, 2018
  4. Apr 24, 2018
    • Tom Rini's avatar
      video-uclass: Fix logical-not-parentheses warning · 75164181
      Tom Rini authored
      
      With clang-4.0 and later we see:
      warning: logical not is only applied to the left hand side of this bitwise
      operator [-Wlogical-not-parentheses]
              if ((!gd->flags & GD_FLG_RELOC))
                   ^          ~
      
      And while the compiler suggests adding parenthesis around gd->flags, a
      reading of the code says that we want to know when GD_FLG_RELOC is not
      set and then return.
      
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Anatolij Gustschin <agust@denx.de>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      75164181
  5. Apr 23, 2018
Loading