]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Fix completion structure initialization
authorThomas Falcon <tlfalcon@linux.ibm.com>
Mon, 25 Nov 2019 23:12:53 +0000 (17:12 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Nov 2019 21:19:30 +0000 (13:19 -0800)
commit8f26f8f87e5ae6c5d02e74f12b4a8a9ff87c68aa
treeb47389d9c271e5814a536956efc2d6a7877ce897
parentf7e49abe6fef7effb2d4b76348068610cfffbf6f
ibmvnic: Fix completion structure initialization

Fix multiple calls to init_completion for device completion
structures. Instead, initialize them during device probe and
reinitialize them later as needed.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c