Skip to content
Snippets Groups Projects
  1. Jul 24, 2015
  2. Jul 22, 2015
  3. Jul 19, 2015
  4. Jul 14, 2015
  5. Jul 11, 2015
  6. Jul 07, 2015
  7. Jul 05, 2015
    • jogo's avatar
      kernel: generic: add missing arm machtypes · 4ffc0b71
      jogo authored
      
      Some machtypes were dropped when 4.0 support was added, and the
      incomplete patch was taken over to 4.1.
      
      Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46187 3c298f89-4303-0410-b956-a3cf2f4a3e73
      4ffc0b71
    • jogo's avatar
      kernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1Handler · 6e07b1ec
      jogo authored
      
      Code calling fpu_emulator_cop1Handler will pass on fault_addr, making gcc
      complain about it not being initialized when the FPU emulator is disabled.
      
      Fixes:
      
      arch/mips/kernel/traps.c: In function 'do_fpe':
      arch/mips/kernel/traps.c:864:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
        process_fpemu_return(sig, fault_addr, fcr31);
                            ^
      arch/mips/kernel/traps.c: In function 'do_ri':
      arch/mips/kernel/traps.c:806:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
        process_fpemu_return(sig, fault_addr, fcr31);
                            ^
      arch/mips/kernel/traps.c:763:15: note: 'fault_addr' was declared here
        void __user *fault_addr;
                     ^
      arch/mips/kernel/traps.c: In function 'do_cpu':
      arch/mips/kernel/traps.c:1421:28: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         if (!process_fpemu_return(sig, fault_addr, fcr31) && !err)
                                  ^
      cc1: all warnings being treated as errors
      make[7]: *** [arch/mips/kernel/traps.o] Error 1
      
      Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46184 3c298f89-4303-0410-b956-a3cf2f4a3e73
      6e07b1ec
  8. Jul 03, 2015
  9. Jun 22, 2015
Loading