1. 28 Mar, 2013 38 commits
  2. 26 Mar, 2013 2 commits
    • Andrew Morton's avatar
      drivers/staging/zcache/zcache-main.c: fix build · b26c05a2
      Andrew Morton authored
      flush_dcache_page() takes a page*, not a void*.  It breaks ia64.
      
      Remove this and another unused function.  Warnings remain:
      
      drivers/staging/zcache/zcache-main.c: In function '__check_disable_cleancache':
      drivers/staging/zcache/zcache-main.c:1837: warning: return from incompatible pointer type
      drivers/staging/zcache/zcache-main.c: In function '__check_disable_frontswap':
      drivers/staging/zcache/zcache-main.c:1838: warning: return from incompatible pointer type
      drivers/staging/zcache/zcache-main.c: In function '__check_disable_frontswap_ignore_nonactive':
      drivers/staging/zcache/zcache-main.c:1842: warning: return from incompatible pointer type
      
      Cc: Dan Magenheimer <dan.magenheimer@oracle.com>
      Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b26c05a2
    • H Hartley Sweeten's avatar
      staging: comedi: ni_labpc: fix labpc_calib_insn_write() · 7c00782b
      H Hartley Sweeten authored
      The comedi core expects the (*insn_write) operations to write insn->n
      values and return the number of values actually wrote.
      
      Make this function work like the core expects.
      
      As Ian Abbott pointed out for the eeprom writes, we really only need
      to write the last value to the caldac. The preceding data would be
      overwritten anyway.
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ian Abbott <abbotti@mev.co.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7c00782b