]> git.baikalelectronics.ru Git - kernel.git/commit
xen: update ring.h
authorJuergen Gross <jgross@suse.com>
Thu, 28 Apr 2022 07:59:01 +0000 (09:59 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 19 May 2022 12:21:53 +0000 (14:21 +0200)
commite6062eba03736c798a21de656b77418de5b9df58
tree6b2ae1c303e684a50dd409fd184d69e327327178
parent5be440fe462e52619dc2187605fe3c8e670a4b94
xen: update ring.h

Update include/xen/interface/io/ring.h to its newest version.

Switch the two improper use cases of RING_HAS_UNCONSUMED_RESPONSES() to
XEN_RING_NR_UNCONSUMED_RESPONSES() in order to avoid the nasty
XEN_RING_HAS_UNCONSUMED_IS_BOOL #define.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/net/xen-netfront.c
include/xen/interface/io/ring.h