]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Initialize trans_work and idc_aen_work at VF probe.
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Thu, 23 May 2013 21:04:29 +0000 (21:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 May 2013 06:04:54 +0000 (23:04 -0700)
commit2b4c0e9771fa4f350d6c87f1361d634ffbdb3e6f
tree26d28152f3af0b75c8ef701108db48e4c5b66a0c
parent875e1b5e04dfeed69e4753cafea2b81ac8437ab9
qlcnic: Initialize trans_work and idc_aen_work at VF probe.

o work_struct should be initialized before cancel_delayed_work
  call to destroy it.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c