]> 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)
commit6fb94d011d94704498eb91a4e123e011b27f2f1e
tree6b2ae1c303e684a50dd409fd184d69e327327178
parent673433e0436f59ffa27a826623707da28f852bb4
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