1. 21 Nov, 2012 2 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-3.8e' of... · 3ce14acb
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-3.8e' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      From Jonathan:
      
        "Fifth round of new IIO drivers, cleanups and fixes for the 3.8 cycle.
      
        Here we have a number of minor fixes.
        * a quirk for the hid sensor driver should be a boolean option.
        * return an error for a failed memdup in the hid sensor driver.
        * Fix a return value in adt7410.
        * A double free in the IIO event infrastructure.
        * Disabling interrupts in tsl2563 was wrong (never been correct!)
        * Incorrect signature for the iio_buffer_register stub
        * Incorrect return for isl29018 write_raw callback.
        * A number of minor fixes as part of the various rework series.
      
        New drivers and major rework.
        * Introduce and use extensively an adis library for numerous spi
          Analog Devices mems sensors.  This then moves out of staging.
        * Lots of new stuff then added to this library to support newer
          sensors.
        * New drivers for ADIS16136 and ADIS16480 and similar.
        * Core support for barometric pressure sensors.
        * ad7298 cleanup and move out of staging.
      
        The bulk of this is from Lars-Peter Clausen.  He's been rather
        busy!"
      3ce14acb
    • Jonathan Cameron's avatar
      iio:adc:ad7298 make the tx and rx buffers __be16 · be7fd3b8
      Jonathan Cameron authored
      These buffers are a little interesting in that their
      content may have variable endianness, but all but one
      element will definitely be big endian.
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      be7fd3b8
  2. 20 Nov, 2012 7 commits
  3. 19 Nov, 2012 18 commits
  4. 17 Nov, 2012 8 commits
  5. 16 Nov, 2012 5 commits
    • Linus Torvalds's avatar
      Merge branch 'akpm' (Fixes from Andrew) · 0cad3ff4
      Linus Torvalds authored
      Merge misc fixes from Andrew Morton.
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (12 patches)
        revert "mm: fix-up zone present pages"
        tmpfs: change final i_blocks BUG to WARNING
        tmpfs: fix shmem_getpage_gfp() VM_BUG_ON
        mm: highmem: don't treat PKMAP_ADDR(LAST_PKMAP) as a highmem address
        mm: revert "mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures"
        rapidio: fix kernel-doc warnings
        swapfile: fix name leak in swapoff
        memcg: fix hotplugged memory zone oops
        mips, arc: fix build failure
        memcg: oom: fix totalpages calculation for memory.swappiness==0
        mm: fix build warning for uninitialized value
        mm: add anon_vma_lock to validate_mm()
      0cad3ff4
    • Andy Gross's avatar
      staging: drm/omap: Fix usage of IS_ERR_OR_NULL and PTR_ERR · 295c799a
      Andy Gross authored
      Return -ENOMEM if dmm_txn_init cannot allocate a refill engine.
      
      v2: Fix typing issue seen with newer compilers
      Signed-off-by: default avatarAndy Gross <andy.gross@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      295c799a
    • YAMANE Toshiaki's avatar
      staging/serqt_usb2: Refactor qt_status_change_check() in serqt_usb2.c · 9d36976f
      YAMANE Toshiaki authored
      Modify qt_status_change_check() and delete qt_status_change().
      Signed-off-by: default avatarYAMANE Toshiaki <yamanetoshi@gmail.com>
      Acked-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9d36976f
    • Andrew Morton's avatar
      revert "mm: fix-up zone present pages" · 5576646f
      Andrew Morton authored
      Revert commit 7f1290f2 ("mm: fix-up zone present pages")
      
      That patch tried to fix a issue when calculating zone->present_pages,
      but it caused a regression on 32bit systems with HIGHMEM.  With that
      change, reset_zone_present_pages() resets all zone->present_pages to
      zero, and fixup_zone_present_pages() is called to recalculate
      zone->present_pages when the boot allocator frees core memory pages into
      buddy allocator.  Because highmem pages are not freed by bootmem
      allocator, all highmem zones' present_pages becomes zero.
      
      Various options for improving the situation are being discussed but for
      now, let's return to the 3.6 code.
      
      Cc: Jianguo Wu <wujianguo@huawei.com>
      Cc: Jiang Liu <jiang.liu@huawei.com>
      Cc: Petr Tesarik <ptesarik@suse.cz>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Mel Gorman <mel@csn.ul.ie>
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Minchan Kim <minchan.kim@gmail.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Acked-by: default avatarDavid Rientjes <rientjes@google.com>
      Tested-by: default avatarChris Clayton <chris2553@googlemail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5576646f
    • Hugh Dickins's avatar
      tmpfs: change final i_blocks BUG to WARNING · 0f3c42f5
      Hugh Dickins authored
      Under a particular load on one machine, I have hit shmem_evict_inode()'s
      BUG_ON(inode->i_blocks), enough times to narrow it down to a particular
      race between swapout and eviction.
      
      It comes from the "if (freed > 0)" asymmetry in shmem_recalc_inode(),
      and the lack of coherent locking between mapping's nrpages and shmem's
      swapped count.  There's a window in shmem_writepage(), between lowering
      nrpages in shmem_delete_from_page_cache() and then raising swapped
      count, when the freed count appears to be +1 when it should be 0, and
      then the asymmetry stops it from being corrected with -1 before hitting
      the BUG.
      
      One answer is coherent locking: using tree_lock throughout, without
      info->lock; reasonable, but the raw_spin_lock in percpu_counter_add() on
      used_blocks makes that messier than expected.  Another answer may be a
      further effort to eliminate the weird shmem_recalc_inode() altogether,
      but previous attempts at that failed.
      
      So far undecided, but for now change the BUG_ON to WARN_ON: in usual
      circumstances it remains a useful consistency check.
      Signed-off-by: default avatarHugh Dickins <hughd@google.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0f3c42f5