]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4 : Fix missing initialization of win0_lock
authorAnish Bhatt <anish@chelsio.com>
Thu, 30 Oct 2014 00:54:03 +0000 (17:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 20:51:34 +0000 (16:51 -0400)
commit6dc27c5dba4b7b65f03dd88de37a5d49748d3987
treed4a58b6242c726a47ad977b5f2e8797c0254cfb1
parent0f34ba5358e3fe632f773496e3ce8c63baabd7cb
cxgb4 : Fix missing initialization of win0_lock

win0_lock was being used un-initialized, resulting in warning traces
being seen when lock debugging is enabled (and just wrong)

Fixes : 44240b6ef69b ('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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c