xen/netback: fix incorrect usage of RING_HAS_UNCONSUMED_REQUESTS()
authorJuergen Gross <jgross@suse.com>
Mon, 30 May 2022 11:34:59 +0000 (13:34 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 31 May 2022 10:22:22 +0000 (12:22 +0200)
commit09e545f7381459c015b6fa0cd0ac6f010ef8cc25
tree56f72b68271ab99cce408e56490a2eacfa1994ec
parent3e0b8f529c10037ae0b369fc892e524eae5a5485
xen/netback: fix incorrect usage of RING_HAS_UNCONSUMED_REQUESTS()

Commit 6fac592cca60 ("xen: update ring.h") missed to fix one use case
of RING_HAS_UNCONSUMED_REQUESTS().

Reported-by: Jan Beulich <jbeulich@suse.com>
Fixes: 6fac592cca60 ("xen: update ring.h")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Link: https://lore.kernel.org/r/20220530113459.20124-1-jgross@suse.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/xen-netback/netback.c