Skip to content
Commit 9c32950f authored by Lv Ruyi's avatar Lv Ruyi Committed by David S. Miller
Browse files

net: mscc: ocelot: fix mutex_lock not released



If err is true, the function will be returned, but mutex_lock isn't
released.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarLv Ruyi <lv.ruyi@zte.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c0190879
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment