diff options
| author | Shrikanth Hegde <[email protected]> | 2025-05-05 07:53:31 +0000 |
|---|---|---|
| committer | Madhavan Srinivasan <[email protected]> | 2025-06-23 04:27:11 +0000 |
| commit | 37989b532bc2cb1912fdcfe6d381a10c8452068a (patch) | |
| tree | 5ebc1c0e8290e86edd48a62cd8d77693b1b77cde /lib/crypto/mpi/mpi-mul.c | |
| parent | powerpc: fadump: use lock guard for mutex (diff) | |
| download | kernel-37989b532bc2cb1912fdcfe6d381a10c8452068a.tar.gz kernel-37989b532bc2cb1912fdcfe6d381a10c8452068a.zip | |
powerpc: book3s: vas: use lock guard for mutex
use lock guards for scope based resource management of mutex.
This would make the code simpler and easier to maintain.
More details on lock guards can be found at
https://lore.kernel.org/all/[email protected]/T/#u
This shows the use of both guard and scoped_guard
Reviewed-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Shrikanth Hegde <[email protected]>
Tested-by: Venkat Rao Bagalkote <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
