On 1/19/23 19:46, David Marchand wrote:
Be a bit more strict when a programmatic error is detected wrt to the

with regards to*

access_lock not being taken.
Mark the new helper with __rte_assert_exclusive_lock so that clang
understands where locks are expected to be taken.

Signed-off-by: David Marchand <david.march...@redhat.com>
---
  lib/vhost/vhost.c      | 18 +++---------------
  lib/vhost/vhost.h      | 10 ++++++++++
  lib/vhost/virtio_net.c |  6 +-----
  3 files changed, 14 insertions(+), 20 deletions(-)


Nice!

Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>

Thanks,
Maxime

Reply via email to