On Mon, 13 Nov 2023, Harshit Mogalapalli wrote: > 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 > Signed-off-by: Harshit Mogalapalli Reviewed-by: Ilpo Järvinen -- i.