1. 25 4月, 2012 1 次提交
    • O
      dma: pl330: fix a couple of compilation warnings · c8473828
      Olof Johansson 提交于
      Move a couple of tests and do a minor refactor to avoid:
      
      drivers/dma/pl330.c: In function 'pl330_probe':
      drivers/dma/pl330.c:2929:215: warning: comparison of distinct pointer types lacks a cast [enabled by default]
      drivers/dma/pl330.c: In function 'pl330_tasklet':
      drivers/dma/pl330.c:2250:8: warning: 'pch' may be used uninitialized in this function [-Wuninitialized]
      drivers/dma/pl330.c:2228:25: note: 'pch' was declared here
      drivers/dma/pl330.c:2277:130: warning: 'pch' may be used uninitialized in this function [-Wuninitialized]
      drivers/dma/pl330.c:2260:25: note: 'pch' was declared here
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      c8473828
  2. 21 3月, 2012 1 次提交
  3. 17 3月, 2012 1 次提交
  4. 13 3月, 2012 7 次提交
  5. 08 3月, 2012 3 次提交
  6. 31 1月, 2012 1 次提交
    • J
      drivers/dma/pl330.c: add missing iounmap · 7bec78e0
      Julia Lawall 提交于
      Add missing iounmap in error handling code, in a case where the function
      already preforms iounmap on some other execution path.
      
      This patch additionally adds calls to clk_disable and clk_put.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression e;
      statement S,S1;
      int ret;
      @@
      e = \(ioremap\|ioremap_nocache\)(...)
      ... when != iounmap(e)
      if (<+...e...+>) S
      ... when any
          when != iounmap(e)
      *if (...)
         { ... when != iounmap(e)
           return ...; }
      ... when any
      iounmap(e);
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      7bec78e0
  7. 23 12月, 2011 3 次提交
  8. 08 12月, 2011 1 次提交
  9. 22 11月, 2011 1 次提交
  10. 10 11月, 2011 1 次提交
  11. 27 10月, 2011 1 次提交
  12. 20 9月, 2011 1 次提交
  13. 14 9月, 2011 5 次提交
  14. 26 7月, 2011 1 次提交
  15. 24 2月, 2011 1 次提交
  16. 24 5月, 2010 1 次提交