summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorShrikanth Hegde <sshegde@linux.ibm.com>2025-05-05 13:23:32 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2025-06-23 09:57:11 +0530
commit8ea7819f6ec5782918e4d15906fa259a371e6bdd (patch)
tree5ece40f9a85c5ba1438dd3e20f368c4567abe738 /rust/helpers/platform.c
parent37989b532bc2cb1912fdcfe6d381a10c8452068a (diff)
powerpc: powernv: ocxl: use lock guard for mutex
use guard(mutex) 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/20230612093537.614161713@infradead.org/T/#u Reviewed-by: Srikar Dronamraju <srikar@linux.ibm.com> Acked-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250505075333.184463-6-sshegde@linux.ibm.com
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions