1. 16 4月, 2016 2 次提交
  2. 12 4月, 2016 1 次提交
  3. 07 4月, 2016 1 次提交
  4. 03 4月, 2016 3 次提交
  5. 28 3月, 2016 3 次提交
  6. 18 3月, 2016 2 次提交
  7. 17 3月, 2016 1 次提交
  8. 16 3月, 2016 5 次提交
  9. 15 3月, 2016 1 次提交
    • A
      ASoC: cs35l32: avoid uninitialized variable access · dd5dc001
      Arnd Bergmann 提交于
      gcc warns about the possibilty of accessing a property read from
      devicetree in cs35l32_i2c_probe() when it has not been initialized
      because CONFIG_OF is disabled:
      
      sound/soc/codecs/cs35l32.c: In function 'cs35l32_i2c_probe':
      sound/soc/codecs/cs35l32.c:278:2: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
      
      The code is actually correct because it checks the dev->of_node
      variable first and we know this is NULL here when CONFIG_OF
      is disabled, but Russell King noticed that it's broken when
      we probe the device using DT, and the properties are absent.
      
      The code already has some checking for incorrect values, and
      I keep that checking unchanged here, but add an additional
      check for an error returned by the property accessor functions
      that now gets handled the same way as incorrect data in the
      properties.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NBrian Austin <brian.austin@cirrus.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      dd5dc001
  10. 12 3月, 2016 13 次提交
  11. 11 3月, 2016 1 次提交
  12. 10 3月, 2016 1 次提交
  13. 09 3月, 2016 1 次提交
    • L
      dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc() · f6e45661
      Luis R. Rodriguez 提交于
      Rename dma_*_writecombine() to dma_*_wc(), so that the naming
      is coherent across the various write-combining APIs. Keep the
      old names for compatibility for a while, these can be removed
      at a later time. A guard is left to enable backporting of the
      rename, and later remove of the old mapping defines seemlessly.
      
      Build tested successfully with allmodconfig.
      
      The following Coccinelle SmPL patch was used for this simple
      transformation:
      
      @ rename_dma_alloc_writecombine @
      expression dev, size, dma_addr, gfp;
      @@
      
      -dma_alloc_writecombine(dev, size, dma_addr, gfp)
      +dma_alloc_wc(dev, size, dma_addr, gfp)
      
      @ rename_dma_free_writecombine @
      expression dev, size, cpu_addr, dma_addr;
      @@
      
      -dma_free_writecombine(dev, size, cpu_addr, dma_addr)
      +dma_free_wc(dev, size, cpu_addr, dma_addr)
      
      @ rename_dma_mmap_writecombine @
      expression dev, vma, cpu_addr, dma_addr, size;
      @@
      
      -dma_mmap_writecombine(dev, vma, cpu_addr, dma_addr, size)
      +dma_mmap_wc(dev, vma, cpu_addr, dma_addr, size)
      
      We also keep the old names as compatibility helpers, and
      guard against their definition to make backporting easier.
      
      Generated-by: Coccinelle SmPL
      Suggested-by: NIngo Molnar <mingo@kernel.org>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@suse.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: airlied@linux.ie
      Cc: akpm@linux-foundation.org
      Cc: benh@kernel.crashing.org
      Cc: bhelgaas@google.com
      Cc: bp@suse.de
      Cc: dan.j.williams@intel.com
      Cc: daniel.vetter@ffwll.ch
      Cc: dhowells@redhat.com
      Cc: julia.lawall@lip6.fr
      Cc: konrad.wilk@oracle.com
      Cc: linux-fbdev@vger.kernel.org
      Cc: linux-pci@vger.kernel.org
      Cc: luto@amacapital.net
      Cc: mst@redhat.com
      Cc: tomi.valkeinen@ti.com
      Cc: toshi.kani@hp.com
      Cc: vinod.koul@intel.com
      Cc: xen-devel@lists.xensource.com
      Link: http://lkml.kernel.org/r/1453516462-4844-1-git-send-email-mcgrof@do-not-panic.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
      f6e45661
  14. 08 3月, 2016 1 次提交
  15. 07 3月, 2016 4 次提交