1. 02 1月, 2013 1 次提交
  2. 05 12月, 2012 1 次提交
  3. 29 11月, 2012 1 次提交
  4. 26 11月, 2012 1 次提交
  5. 18 11月, 2012 2 次提交
    • S
      qlcnic: fix sparse warnings · 6d973cb1
      Sony Chacko 提交于
      qlcnic_hw.c:1337:17: warning: cast removes address space of expression
      qlcnic_hw.c:1337:17: warning: incorrect type in argument 2 (different address spaces)
      qlcnic_hw.c:1337:17:    expected void volatile [noderef] <asn:2>*addr
      qlcnic_hw.c:1337:17:    got void *<noident>
      qlcnic_hw.c:1337:17: warning: cast removes address space of expression
      qlcnic_hw.c:1337:17: warning: incorrect type in argument 1 (different address spaces)
      qlcnic_hw.c:1337:17:    expected void const volatile [noderef] <asn:2>*addr
      qlcnic_hw.c:1337:17:    got void *<noident>
      
      The above warnings are originating from the macros QLCNIC_RD_DUMP_REG and
      QLCNIC_WR_DUMP_REG.
      The warnings are fixed and macros are replaced with equivalent functions
      in the only file from where it is called.
      
      The following warnings are fixed by making the functions static.
      
      qlcnic_hw.c:543:5: warning: symbol 'qlcnic_set_fw_loopback' was not declared. Should it be static?
      qlcnic_init.c:1853:6: warning: symbol 'qlcnic_process_rcv_diag' was not declared. Should it be static?
      Signed-off-by: NSony Chacko <sony.chacko@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6d973cb1
    • 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
  6. 11 7月, 2012 1 次提交
  7. 08 6月, 2012 1 次提交
  8. 30 4月, 2012 1 次提交
  9. 09 2月, 2012 1 次提交
  10. 05 2月, 2012 1 次提交
  11. 30 10月, 2011 1 次提交
  12. 30 8月, 2011 3 次提交
  13. 11 8月, 2011 1 次提交
  14. 01 8月, 2011 1 次提交
  15. 14 7月, 2011 1 次提交
  16. 01 7月, 2011 1 次提交
  17. 24 6月, 2011 1 次提交
  18. 14 5月, 2011 1 次提交
  19. 20 4月, 2011 1 次提交
  20. 07 4月, 2011 3 次提交
  21. 11 1月, 2011 1 次提交
    • A
      qlcnic: fix flash fw version read · 0e5f20b6
      amit salecha 提交于
      Driver is reading flash fw version from defined address, this address
      may be invalid. Indeed Driver should read address for fw version through
      flash layout table. Flash layout table has defined region and address for
      fw version address should be read from fw image region.
      
      Driver has check for old firmware, this bug can cause driver load fail.
      This patch will try to read fw version from flash image region, if that fails,
      read from defined address.
      Signed-off-by: NAmit Kumar Salecha <amit.salecha@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0e5f20b6
  22. 04 12月, 2010 2 次提交
  23. 29 11月, 2010 1 次提交
  24. 28 11月, 2010 1 次提交
  25. 09 10月, 2010 1 次提交
  26. 05 10月, 2010 1 次提交
  27. 22 9月, 2010 1 次提交
  28. 21 9月, 2010 1 次提交
  29. 18 9月, 2010 4 次提交
  30. 03 9月, 2010 1 次提交
  31. 02 9月, 2010 1 次提交