Message ID | 1414630443-6412-1-git-send-email-anish@chelsio.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Anish Bhatt <anish@chelsio.com> Date: Wed, 29 Oct 2014 17:54:03 -0700 > win0_lock was being used un-initialized, resulting in warning traces > being seen when lock debugging is enabled (and just wrong) > > Fixes : fc5ab0209650 ('cxgb4: Replaced the backdoor mechanism to access the HW > memory with PCIe Window method') > > Signed-off-by: Anish Bhatt <anish@chelsio.com> > Signed-off-by: Casey Leedom <leedom@chelsio.com> Applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index 97683c1..8520d55 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c @@ -6614,6 +6614,7 @@ static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent) spin_lock_init(&adapter->stats_lock); spin_lock_init(&adapter->tid_release_lock); + spin_lock_init(&adapter->win0_lock); INIT_WORK(&adapter->tid_release_task, process_tid_release_list); INIT_WORK(&adapter->db_full_task, process_db_full);