Skip to content
Snippets Groups Projects
  1. Nov 05, 2015
  2. Apr 22, 2015
    • Simon Glass's avatar
      exynos: sandbox: ti: Add SPDX license identifiers and notes · 5b5e9ba3
      Simon Glass authored
      
      For some files I neglected to add a license. Rectify this:
      
      arch/arm/dts/exynos4210-pinctrl-uboot.dtsi
      arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi
      arch/arm/dts/exynos5250-pinctrl-uboot.dtsi
      arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
      arch/arm/dts/s5pc100-pinctrl.dtsi
      arch/arm/dts/s5pc110-pinctrl.dtsi
      
      This file came from Linux and has no license information there, so add a
      comment to that effect:
      
      arch/sandbox/include/asm/bitops.h
      
      This file also came from Linux - presumably someone from TI could add the
      license:
      
      include/dt-bindings/pinctrl/omap.h
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reported-by: default avatarIngrid Viitanen <ingrid.viitanen@nokia.com>
      5b5e9ba3
  3. Jun 23, 2014
    • Masahiro Yamada's avatar
      sandbox: change local_irq_save() to macro · 1638d980
      Masahiro Yamada authored
      
      local_irq_save() should be a macro, not a function
      because local_irq_save() saves flag to the given argument.
      
      GCC is silent about this issue, but Clang warns:
      
      In file included from lib/asm-offsets.c:15:
      In file included from include/common.h:20:
      In file included from include/linux/bitops.h:110:
      arch/sandbox/include/asm/bitops.h:59:17:
       warning: variable 'flags' is uninitialized when used here
            [-Wuninitialized]
              local_irq_save(flags);
                             ^~~~~
      
      That change causes another warning:
      
      In file included from include/linux/bitops.h:110:0,
                       from include/common.h:20,
                       from lib/asm-offsets.c:15:
      arch/sandbox/include/asm/bitops.h: In function ‘test_and_set_bit’:
      arch/sandbox/include/asm/bitops.h:56:16: warning: unused variable ‘flags’ [-Wunused-variable]
      
      So, flags should be set to __always_unused.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      1638d980
  4. Oct 17, 2011
  5. Jul 16, 2011
  6. Apr 13, 2010
  7. Oct 03, 2009
  8. Sep 17, 2009
  9. Sep 15, 2009
  10. Jun 27, 2003
  11. Nov 03, 2002
Loading