Re: [PATCH 5/5] sfc: add missing annotation for efx_ef10_try_update_nic_stats_vf()

From: David Miller
Date: Mon Jun 01 2020 - 18:52:41 EST


From: Jules Irenge <jbi.octave@xxxxxxxxx>
Date: Mon, 1 Jun 2020 19:45:52 +0100

> Sparse reports a warning at efx_ef10_try_update_nic_stats_vf()
> warning: context imbalance in efx_ef10_try_update_nic_stats_vf()
> - unexpected unlock
> The root cause is the missing annotation at
> efx_ef10_try_update_nic_stats_vf()
> Add the missing _must_hold(&efx->stats_lock) annotation
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>

Applied.