1. 05 11月, 2013 1 次提交
  2. 22 8月, 2013 2 次提交
  3. 04 8月, 2013 1 次提交
  4. 20 7月, 2013 1 次提交
    • J
      qlcnic: Fix releasing of Tx frag which was never mapped. · b662eca0
      Jitendra Kalsaria 提交于
      o Driver was freeing Tx frag which was never mapped before which
        result into panic as kernel was unable to handle paging request.
      
      BUG: unable to handle kernel paging request at ffffc9002552a000
      IP: [<ffffffffa05ed762>] qlcnic_release_tx_buffers+0x72/0x170 [qlcnic]
      PGD 87fc15067 PUD 47febf067 PMD 4758c5067 PTE 0
      Oops: 0000 [#1] SMP
      
      crash> bt
      PID: 27343  TASK: ffff8802a5de8080  CPU: 27  COMMAND: "ifconfig"
         [ffff8802a34b3850] machine_kexec at ffffffff81035b7b
         [ffff8802a34b38b0] crash_kexec at ffffffff810c0db2
         [ffff8802a34b3980] oops_end at ffffffff815111d0
         [ffff8802a34b39b0] no_context at ffffffff81046bfb
         [ffff8802a34b3a00] __bad_area_nosemaphore at ffffffff81046e85
         [ffff8802a34b3a50] bad_area_nosemaphore at ffffffff81046f53
         [ffff8802a34b3a60] __do_page_fault at ffffffff810476b1
         [ffff8802a34b3b80] do_page_fault at ffffffff8151311e
         [ffff8802a34b3bb0] page_fault at ffffffff815104d5
          [exception RIP: qlcnic_release_tx_buffers+114]
          RIP: ffffffffa05ed762  RSP: ffff8802a34b3c68  RFLAGS: 00010246
          RAX: ffff88087989c000  RBX: ffffc90025529ff8  RCX: 0000000000000001
          RDX: 0000000000000013  RSI: 0000000000000013  RDI: 0000000000000000
          RBP: ffff8802a34b3ca8   R8: 0000000000000000   R9: 0000000000000000
          R10: 000000000000000c  R11: 0000000000000000  R12: 0000000000000012
          R13: ffffc90025529ec0  R14: ffff880761e876e0  R15: 00000000000003ff
          ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
         [ffff8802a34b3cb0] __qlcnic_down at ffffffffa05e8b15 [qlcnic]
         [ffff8802a34b3d00] qlcnic_close at ffffffffa05e8b78 [qlcnic]
         [ffff8802a34b3d10] dev_close at ffffffff81449d81
         [ffff8802a34b3d30] dev_change_flags at ffffffff814495c1
      Signed-off-by: NJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
      Signed-off-by: NSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b662eca0
  5. 05 2月, 2013 2 次提交
  6. 02 1月, 2013 2 次提交
  7. 05 12月, 2012 1 次提交
  8. 29 11月, 2012 1 次提交
  9. 26 11月, 2012 1 次提交
  10. 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
  11. 11 7月, 2012 1 次提交
  12. 08 6月, 2012 1 次提交
  13. 30 4月, 2012 1 次提交
  14. 09 2月, 2012 1 次提交
  15. 05 2月, 2012 1 次提交
  16. 30 10月, 2011 1 次提交
  17. 30 8月, 2011 3 次提交
  18. 11 8月, 2011 1 次提交
  19. 01 8月, 2011 1 次提交
  20. 14 7月, 2011 1 次提交
  21. 01 7月, 2011 1 次提交
  22. 24 6月, 2011 1 次提交
  23. 14 5月, 2011 1 次提交
  24. 20 4月, 2011 1 次提交
  25. 07 4月, 2011 3 次提交
  26. 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
  27. 04 12月, 2010 2 次提交
  28. 29 11月, 2010 1 次提交
  29. 28 11月, 2010 1 次提交
  30. 09 10月, 2010 1 次提交
  31. 05 10月, 2010 1 次提交