aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2024-01-26 15:24:10 +0000
committerGreg Kroah-Hartman <[email protected]>2024-01-31 00:20:54 +0000
commitac9762a74c7ca7cbfcb4c65f5871373653a046ac (patch)
treef7e744340a706996e7deef7e543719bfb0c52764 /drivers/fpga/tests/fpga-mgr-test.c
parentmisc: fastrpc: Mark all sessions as invalid in cb_remove (diff)
downloadkernel-ac9762a74c7ca7cbfcb4c65f5871373653a046ac.tar.gz
kernel-ac9762a74c7ca7cbfcb4c65f5871373653a046ac.zip
misc: open-dice: Fix spurious lockdep warning
When probing the open-dice driver with PROVE_LOCKING=y, lockdep complains that the mutex in 'drvdata->lock' has a non-static key: | INFO: trying to register non-static key. | The code is fine but needs lockdep annotation, or maybe | you didn't initialize this object before use? | turning off the locking correctness validator. Fix the problem by initialising the mutex memory with mutex_init() instead of __MUTEX_INITIALIZER(). Cc: Arnd Bergmann <[email protected]> Cc: David Brazdil <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions