Hi Andy, Thanks for the suggestion.
I have removed excessive lines in the commit log and sent out a v2 patch.
Thanks again.
- Tong
On Fri, Mar 12, 2021 at 3:56 AM Andy Shevchenko
wrote:
>
> On Fri, Mar 12, 2021 at 9:50 AM Tong Zhang wrote:
> >
> > ADF_STATUS_PF_RUNNING is (only) used and checked
On Fri, Mar 12, 2021 at 9:50 AM Tong Zhang wrote:
>
> ADF_STATUS_PF_RUNNING is (only) used and checked by adf_vf2pf_shutdown()
> before calling adf_iov_putmsg()->mutex_lock(vf2pf_lock), however the
> vf2pf_lock is initialized in adf_dev_init(), which can fail and when it
> fail, the vf2pf_lock is
ADF_STATUS_PF_RUNNING is (only) used and checked by adf_vf2pf_shutdown()
before calling adf_iov_putmsg()->mutex_lock(vf2pf_lock), however the
vf2pf_lock is initialized in adf_dev_init(), which can fail and when it
fail, the vf2pf_lock is either not initialized or destroyed, a subsequent
use of vf2
3 matches
Mail list logo