1. 01 11月, 2012 11 次提交
  2. 27 10月, 2012 5 次提交
    • P
      ARM: OMAP1: usb: fix sparse warnings · eba36d77
      Paul Walmsley 提交于
      
      Resolve the following sparse warnings:
      
      arch/arm/mach-omap1/usb.c:304:12: warning: symbol 'omap1_usb0_init' was not declared. Should it be static?
      arch/arm/mach-omap1/usb.c:412:12: warning: symbol 'omap1_usb1_init' was not declared. Should it be static?
      arch/arm/mach-omap1/usb.c:478:12: warning: symbol 'omap1_usb2_init' was not declared. Should it be static?
      
      by declaring those functions as static.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Felipe Balbi <balbi@ti.com>
      [tony@atomide.com: this was missed with plat/usb.h removal]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      eba36d77
    • T
      Merge tag 'omap-cleanup-fixes-a-for-3.8' of... · a0212796
      Tony Lindgren 提交于
      Merge tag 'omap-cleanup-fixes-a-for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into omap-for-v3.8/cleanup-headers
      
      Several fixes for build failures and sparse warnings in the
      OMAP cleanup-headers branch.  Intended for 3.8 cleanup.
      
      Basic build, boot, and PM test logs are available from here:
      
          http://www.pwsan.com/omap/testlogs/cleanup-headers-compile-fixes-3.8/20121026132711/
      
      Due to underlying problems in v3.7-rc2, several tests fail.  These
      failures are unrelated to these patches.
      a0212796
    • P
      ARM: OMAP1: fix sparse warning added by commit 4c98dc6b · 97af08b6
      Paul Walmsley 提交于
      Commit 4c98dc6b ("ARM: OMAP: Make
      plat/fpga.h local to arch/arm/plat-omap") results in a new warning from
      sparse:
      
      arch/arm/mach-omap1/fpga.c:147:6: warning: symbol 'omap1510_fpga_init_irq' was not declared. Should it be static?
      
      Fix by adding a missing include.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      97af08b6
    • P
      ARM: OMAP1: fix build breakage introduced by commit 25c7d49e · 47ba7099
      Paul Walmsley 提交于
      Commit 25c7d49e ("ARM: OMAP: Make
      omap_device local to mach-omap2") broke an OMAP5912-only build here:
      
      arch/arm/mach-omap1/pm_bus.c: In function 'omap1_pm_runtime_init':
      arch/arm/mach-omap1/pm_bus.c:69:2: error: implicit declaration of function
      'cpu_class_is_omap1'
      make[1]: *** [arch/arm/mach-omap1/pm_bus.o] Error 1
      
      Fix by adding a missing include.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      47ba7099
    • P
      ARM: OMAP2+: fix build breakage introduced by commit b7754452 · ea5d8f42
      Paul Walmsley 提交于
      Commit b7754452 ("mtd: onenand: omap:
      use pdata info instead of cpu_is") broke an OMAP3+4 build and an N800
      multi-OMAP2xxx build here:
      
      drivers/built-in.o: In function `omap2_onenand_probe':
      drivers/mtd/onenand/omap2.c:742: undefined reference to `omap2_onenand_read_bufferram'
      drivers/mtd/onenand/omap2.c:743: undefined reference to `omap2_onenand_write_bufferram'
      drivers/mtd/onenand/omap2.c:742: undefined reference to `omap2_onenand_read_bufferram'
      drivers/mtd/onenand/omap2.c:743: undefined reference to `omap2_onenand_write_bufferram'
      
      ...
      
      drivers/built-in.o: In function `omap2_onenand_probe':
      drivers/mtd/onenand/omap2.c:788: undefined reference to `omap3_onenand_read_bufferram'
      drivers/mtd/onenand/omap2.c:788: undefined reference to `omap3_onenand_write_bufferram'
      
      Fix by declaring static functions for the missing symbols, rather than
      just prototypes.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Afzal Mohammed <afzal@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      ea5d8f42
  3. 26 10月, 2012 1 次提交
  4. 25 10月, 2012 10 次提交
  5. 24 10月, 2012 1 次提交
    • D
      console: use might_sleep in console_lock · 6b898c07
      Daniel Vetter 提交于
      Instead of BUG_ON(in_interrupt()), since that doesn't check for all
      the newfangled stuff like preempt.
      
      Note that this is valid since the console_sem is essentially used like
      a real mutex with only two twists:
      - we allow trylock from hardirq context
      - across suspend/resume we lock the logical console_lock, but drop the
        semaphore protecting the locking state.
      
      Now that doesn't guarantee that no one is playing tricks in
      single-thread atomic contexts at suspend/resume/boot time, but
      - I couldn't find anything suspicious with some grepping,
      - might_sleep shouldn't die,
      - and I think the upside of catching more potential issues is worth
        the risk of getting a might_sleep backtrace that would have been
        save (and then dealing with that fallout).
      
      Cc: Dave Airlie <airlied@gmail.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6b898c07
  6. 23 10月, 2012 12 次提交