1. 09 3月, 2011 1 次提交
    • P
      OMAP1: McBSP: fix build break for non-multi-OMAP1 configs · e7916740
      Paul Walmsley 提交于
      Commit 3cf32bba ("OMAP: McBSP: Convert
      McBSP to platform device model") breaks compilation with non-multi-OMAP1
      configs:
      
        CC      arch/arm/mach-omap1/mcbsp.o
      arch/arm/mach-omap1/mcbsp.c: In function 'omap1_mcbsp_init':
      arch/arm/mach-omap1/mcbsp.c:384: warning: dereferencing 'void *' pointer
      arch/arm/mach-omap1/mcbsp.c:387: error: invalid use of void expression
      arch/arm/mach-omap1/mcbsp.c:390: warning: dereferencing 'void *' pointer
      arch/arm/mach-omap1/mcbsp.c:393: error: invalid use of void expression
      
      Fix by avoiding NULL dereferences.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Acked-by: NJarkko Nikula <jhnikula@gmail.com>
      [tony@atomide.com: updated description not to remove unnecessary branch name]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e7916740
  2. 05 3月, 2011 1 次提交
  3. 03 3月, 2011 8 次提交
  4. 02 3月, 2011 10 次提交
  5. 01 3月, 2011 19 次提交
  6. 28 2月, 2011 1 次提交
    • D
      x86: Use u32 instead of long to set reset vector back to 0 · 299c5696
      Don Zickus 提交于
      A customer of ours, complained that when setting the reset
      vector back to 0, it trashed other data and hung their box.
      They noticed when only 4 bytes were set to 0 instead of 8,
      everything worked correctly.
      
      Mathew pointed out:
      
       |
       | We're supposed to be resetting trampoline_phys_low and
       | trampoline_phys_high here, which are two 16-bit values.
       | Writing 64 bits is definitely going to overwrite space
       | that we're not supposed to be touching.
       |
      
      So limit the area modified to u32.
      Signed-off-by: NDon Zickus <dzickus@redhat.com>
      Acked-by: NMatthew Garrett <mjg@redhat.com>
      Cc: <stable@kernel.org>
      LKML-Reference: <1297139100-424-1-git-send-email-dzickus@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      299c5696