1. 06 10月, 2016 6 次提交
  2. 05 10月, 2016 8 次提交
  3. 04 10月, 2016 7 次提交
  4. 03 8月, 2016 1 次提交
    • H
      MIPS: tools: Fix relocs tool compiler warnings · 828a5428
      Harvey Hunt 提交于
      When using clang as HOSTCC, the following warnings appear:
      
      In file included from arch/mips/boot/tools/relocs_64.c:27:0:
      arch/mips/boot/tools/relocs.c: In function ‘read_relocs’:
      arch/mips/boot/tools/relocs.c:397:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          ELF_R_SYM(rel->r_info) = elf32_to_cpu(ELF_R_SYM(rel->r_info));
          ^~~~~~~~~
      arch/mips/boot/tools/relocs.c:397:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      arch/mips/boot/tools/relocs.c: In function ‘walk_relocs’:
      arch/mips/boot/tools/relocs.c:491:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          Elf_Sym *sym = &sh_symtab[ELF_R_SYM(rel->r_info)];
          ^~~~~~~
      arch/mips/boot/tools/relocs.c: In function ‘do_reloc’:
      arch/mips/boot/tools/relocs.c:502:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
        unsigned r_type = ELF_R_TYPE(rel->r_info);
        ^~~~~~~~
      arch/mips/boot/tools/relocs.c: In function ‘do_reloc_info’:
      arch/mips/boot/tools/relocs.c:641:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         rel_type(ELF_R_TYPE(rel->r_info)),
         ^~~~~~~~
      
      Fix them by making Elf64_Mips_Rela a union
      Signed-off-by: NHarvey Hunt <harvey.hunt@imgtec.com>
      Acked-by: NMatt Redfearn <matt.redfearn@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/13683/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      828a5428
  5. 02 8月, 2016 4 次提交
  6. 28 5月, 2016 1 次提交
    • A
      MIPS: devicetree: fix cpu interrupt controller node-names · 5214cae7
      Antony Pavlov 提交于
      Here is the quote from [1]:
      
          The unit-address must match the first address specified
          in the reg property of the node. If the node has no reg property,
          the @ and unit-address must be omitted and the node-name alone
          differentiates the node from other nodes at the same level
      
      This patch adjusts MIPS dts-files and devicetree binding
      documentation in accordance with [1].
      
          [1] Power.org(tm) Standard for Embedded Power Architecture(tm)
              Platform Requirements (ePAPR). Version 1.1 – 08 April 2011.
              Chapter 2.2.1.1 Node Name Requirements
      Signed-off-by: NAntony Pavlov <antonynpavlov@gmail.com>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/13345/Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5214cae7
  7. 14 5月, 2016 1 次提交
  8. 13 5月, 2016 12 次提交