1. 15 Oct, 2014 1 commit
    • Krzysztof Kozlowski's avatar
      dmaengine: pl330: Remove non-NULL check for pl330_submit_req parameters · 937cb2f2
      Krzysztof Kozlowski authored
      The pl330_submit_req() checked supplied 'struct pl330_thread thrd' and
      'struct dma_pl330_desc desc' parameters for non-NULL. However these
      checks are useless because supplied arguments won't be NULL.
      
      The pl330_submit_req() is called in only one place and:
      1. 'desc' is already dereferenced in fill_queue() before calling
         pl330_submit_req().
      2. 'thrd' is always dereferenced after calling
         fill_queue()->pl330_submit_req().
      
      Removing the checks for non-NULL values fixes following warning:
      drivers/dma/pl330.c:1376 pl330_submit_req() warn: variable dereferenced before check 'thrd' (see line 1367)
      Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      937cb2f2
  2. 28 Sep, 2014 1 commit
    • Arnd Bergmann's avatar
      dma: imx-sdma: fix another incorrect __init annotation · fe6cf289
      Arnd Bergmann authored
      In e34b731f ("dma: imx-sdma: Remove spurious __init annotation on
      sdma_probe()"), Mark found an extraneous __init label and fixed it.
      
      However, he missed another one, because now we get this other warning:
      
      WARNING: drivers/dma/imx-sdma.o(.text+0x3bb4): Section mismatch in reference from the function sdma_probe() to the function .init.text:sdma_get_firmware()
      The function sdma_probe() references
      the function __init sdma_get_firmware().
      
      Same reasoning as the last time, the function may get called at
      runtime, so it can't be __init.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      fe6cf289
  3. 24 Sep, 2014 1 commit
  4. 23 Sep, 2014 11 commits
  5. 18 Sep, 2014 3 commits
  6. 11 Sep, 2014 11 commits
  7. 28 Aug, 2014 3 commits
  8. 19 Aug, 2014 4 commits
  9. 16 Aug, 2014 5 commits