“5f25e3fd065f7e7cfde608fc3bfa399160afaaf6”上不存在“projects/AnthonyCalandra/imports.yml”
  1. 10 1月, 2014 1 次提交
  2. 08 10月, 2013 1 次提交
  3. 28 5月, 2013 1 次提交
  4. 04 12月, 2012 1 次提交
  5. 09 11月, 2012 2 次提交
  6. 08 10月, 2012 1 次提交
    • P
      drivers/net/irda/sh_irda.c: fix error return code · 812b074b
      Peter Senna Tschudin 提交于
      The function sh_irda_probe() return 0 for success and negative value
      for most of its internal tests failures. There is one exception
      that is error case going to err_mem_4:. For this error case, the
      function abort its success execution path, but returns non negative
      value, making it difficult for a caller function to notice the error.
      
      This patch fixes the error case that do not return negative value.
      
      This was found by Coccinelle, but the code change was made by hand.
      This patch is not robot generated.
      
      A simplified version of the semantic match that finds this problem is
      as follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      (
      if@p1 (\(ret < 0\|ret != 0\))
       { ... return ret; }
      |
      ret@p1 = 0
      )
      ... when != ret = e1
          when != &ret
      *if(...)
      {
        ... when != ret = e2
            when forall
       return ret;
      }
      // </smpl>
      Signed-off-by: NPeter Senna Tschudin <peter.senna@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      812b074b
  7. 15 4月, 2012 1 次提交
  8. 28 11月, 2011 1 次提交
  9. 16 9月, 2011 3 次提交
  10. 11 8月, 2011 1 次提交
    • K
      net/irda: sh_irda: add missing header · a916d82b
      Kuninori Morimoto 提交于
      This patch fixup below build error on sh_irda
      
      sh_irda.c: In function 'sh_irda_write':
      sh_irda.c:174: error: implicit declaration of function 'iowrite16'
      sh_irda.c: In function 'sh_irda_read':
      sh_irda.c:184: error: implicit declaration of function 'ioread16'
      sh_irda.c: At top level:
      sh_irda.c:492: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_irda_irq'
      sh_irda.c: In function 'sh_irda_probe':
      sh_irda.c:776: error: implicit declaration of function 'ioremap_nocache'
      sh_irda.c:776: warning: assignment makes pointer from integer without a cast
      sh_irda.c:811: error: implicit declaration of function 'request_irq'
      sh_irda.c:811: error: 'sh_irda_irq' undeclared (first use in this function)
      sh_irda.c:811: error: (Each undeclared identifier is reported only once
      sh_irda.c:811: error: for each function it appears in.)
      sh_irda.c:811: error: 'IRQF_DISABLED' undeclared (first use in this function)
      sh_irda.c:825: error: implicit declaration of function 'iounmap'
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a916d82b
  11. 19 1月, 2011 1 次提交
  12. 04 8月, 2010 1 次提交
  13. 16 7月, 2010 1 次提交
  14. 07 4月, 2010 1 次提交