1. 05 2月, 2013 2 次提交
  2. 03 2月, 2013 1 次提交
  3. 31 1月, 2013 2 次提交
  4. 27 1月, 2013 5 次提交
  5. 09 1月, 2013 1 次提交
  6. 05 1月, 2013 1 次提交
  7. 03 1月, 2013 2 次提交
  8. 02 1月, 2013 10 次提交
  9. 20 12月, 2012 1 次提交
  10. 08 12月, 2012 1 次提交
  11. 05 12月, 2012 6 次提交
  12. 04 12月, 2012 1 次提交
  13. 29 11月, 2012 2 次提交
  14. 26 11月, 2012 1 次提交
  15. 18 11月, 2012 1 次提交
    • S
      qlcnic: fix compiler warnings · 5ad6ff9d
      Sony Chacko 提交于
      Fix the following warnings:
      
      qlcnic_main.c: In function 'qlcnic_update_cmd_producer':
      qlcnic_main.c:119:51: warning: unused parameter 'adapter' [-Wunused-parameter]
      qlcnic_main.c:119: warning: unused parameter adapter
      qlcnic_init.c: In function qlcnic_process_lro
      qlcnic_init.c:1586: warning: unused parameter sds_ring
      qlcnic_init.c: In function qlcnic_process_rcv_diag
      qlcnic_init.c:1854: warning: unused parameter sds_ring
      qlcnic_init.c: In function qlcnic_fetch_mac
      qlcnic_init.c:1938: warning: unused parameter adapter
      
      warning: 'pci_using_dac' may be used uninitialized in this function [-Wmaybe-uninitialized]
      qlcnic_main.c:1569:10: note: 'pci_using_dac' was declared here
      Signed-off-by: NSony Chacko <sony.chacko@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5ad6ff9d
  16. 08 10月, 2012 1 次提交
    • P
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: fix error return code · 2dfc9671
      Peter Senna Tschudin 提交于
      The function qlcnic_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_out_free_netdev:. 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>
      2dfc9671
  17. 08 9月, 2012 1 次提交
  18. 16 6月, 2012 1 次提交