1. 05 Aug, 2009 3 commits
    • Hartley Sweeten's avatar
      ARM: 5639/1: arm: clkdev.c should include <linux/clk.h> · c0c60c4b
      Hartley Sweeten authored
      <linux/clk.h> should be included to get the base API prototypes.
      
      This fixes the following sparse warnings:
      
        arch/arm/common/clkdev.c:65:12:
          warning: symbol 'clk_get_sys' was not declared. Should it be static?
      
        arch/arm/common/clkdev.c:79:12:
          warning: symbol 'clk_get' was not declared. Should it be static?
      
        arch/arm/common/clkdev.c:87:6:
          warning: symbol 'clk_put' was not declared. Should it be static?
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      c0c60c4b
    • Hartley Sweeten's avatar
      ARM: 5638/1: arch/arm/kernel/signal.c: use correct address space for CRUNCH · 65a5053b
      Hartley Sweeten authored
      preserve_crunch_context() calls __copy_to_user() which expects the
      destination address to be in __user space.  setup_sigframe() properly
      passes the destination address.
      
      restore_crunch_context() calls __copy_from_user() which expects the
      source address to be in __user space.  restore_sigframe() properly
      passes the source address.
      
      This fixes {preserve/restore}_crunch_context() to accept the
      address as __user space and resolves the following sparse warnings:
      
        arch/arm/kernel/signal.c:146:31:
           warning: incorrect type in argument 1 (different address spaces)
              expected void [noderef] <asn:1>*to
              got struct crunch_sigframe *frame
      
        arch/arm/kernel/signal.c:156:38:
           warning: incorrect type in argument 2 (different address spaces)
              expected void const [noderef] <asn:1>*from
              got struct crunch_sigframe *frame
      
        arch/arm/kernel/signal.c:250:48:
           warning: incorrect type in argument 1 (different address spaces)
              expected struct crunch_sigframe *frame
              got struct crunch_sigframe [noderef] <asn:1>*<noident>
      
        arch/arm/kernel/signal.c:365:49:
           warning: incorrect type in argument 1 (different address spaces)
              expected struct crunch_sigframe *frame
              got struct crunch_sigframe [noderef] <asn:1>*<noident>
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      65a5053b
    • Andrew Victor's avatar
      ARM: 5637/1: [KS8695] Don't reference CLOCK_TICK_RATE in drivers · 0a51810a
      Andrew Victor authored
      Stop referencing CLOCK_TICK_RATE in the KS8695 drivers, rather refer
      to a KS8695_CLOCK_RATE.
      Issue pointed out by Russell King on arm-linux-kernel mailing list.
      Signed-off-by: default avatarAndrew Victor <linux@maxim.org.za>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      0a51810a
  2. 03 Aug, 2009 1 commit
  3. 30 Jul, 2009 9 commits
  4. 29 Jul, 2009 27 commits