net: microchip: sparx5: Add lock initialization to the KUNIT tests
authorSteen Hegelund <steen.hegelund@microchip.com>
Tue, 17 Jan 2023 08:55:44 +0000 (09:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2023 14:31:43 +0000 (14:31 +0000)
commit595655e081746f6fca8263154fd6fb5f2b22da24
treee8cea0aeb82461f18517627ee96ac4f074c7a86d
parent1972b6d927ac326fd3a01240c330401f47526558
net: microchip: sparx5: Add lock initialization to the KUNIT tests

Ensure that the KUNIT tests lock instance is initialized before the test is
executed.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/vcap/vcap_api_debugfs_kunit.c
drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c