1. 28 4月, 2016 7 次提交
  2. 26 4月, 2016 8 次提交
  3. 25 4月, 2016 9 次提交
  4. 22 4月, 2016 5 次提交
  5. 20 4月, 2016 10 次提交
  6. 19 4月, 2016 1 次提交
    • A
      efi: ARM: avoid warning about phys_addr_t cast · 7464b6e3
      Arnd Bergmann 提交于
      memblock_remove() takes a phys_addr_t, which may be narrower than 64 bits,
      causing a harmless warning:
      
      drivers/firmware/efi/arm-init.c: In function 'reserve_regions':
      include/linux/kernel.h:29:20: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
       #define ULLONG_MAX (~0ULL)
                          ^
      drivers/firmware/efi/arm-init.c:152:21: note: in expansion of macro 'ULLONG_MAX'
        memblock_remove(0, ULLONG_MAX);
      
      This adds an explicit typecast to avoid the warning
      
      Fixes: 500899c2 ("efi: ARM/arm64: ignore DT memory nodes instead of removing them")
      Acked-by Ard Biesheuvel <ard.biesheuvel@linaro.org>
      Reviewed-by: NMatt Fleming <matt@codeblueprint.co.uk>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      7464b6e3