aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHarshit Mogalapalli <[email protected]>2023-11-13 12:07:38 -0800
committerIlpo Järvinen <[email protected]>2023-11-15 14:32:27 +0200
commit5736aa9537c9b8927dec32d3d47c8c31fe560f62 (patch)
treea13cfd797a11bd9c1dc3e8d833a2a9773c4ce525 /scripts/generate_rust_analyzer.py
parentc5dbf04160005e07e8ca7232a7faa77ab1547ae0 (diff)
platform/x86: hp-bioscfg: move mutex_lock() down in hp_add_other_attributes()
attr_name_kobj's memory allocation is done with mutex_lock() held, this is not needed. Move allocation outside of mutex_lock() so unlock is not needed when allocation fails. Suggested-by: Ilpo Järvinen <[email protected]> Signed-off-by: Harshit Mogalapalli <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions