On 8/26/2021 7:55 PM, Chengfeng Ye wrote: > The lock pdata->i2c_mutex is not released if the function return in > these two patched branches, which may lead to deadlock problem if > this lock is acquired again. > > Cc: cy...@connect.ust.hk > Bugzilla ID: 777 > > Signed-off-by: Chengfeng Ye <cy...@connect.ust.hk>
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com> Bugzilla ID: 777 Fixes: 4ac7516b8b39 ("net/axgbe: add phy init and related APIs") Cc: sta...@dpdk.org Patch title updated as following while merging: net/axgbe: fix unreleased lock in I2C transfer Applied to dpdk-next-net/main, thanks.