]> git.baikalelectronics.ru Git - kernel.git/commit
xen/xenbus: fix xenbus_setup_ring()
authorJuergen Gross <jgross@suse.com>
Thu, 15 Sep 2022 13:05:45 +0000 (15:05 +0200)
committerJuergen Gross <jgross@suse.com>
Fri, 16 Sep 2022 07:50:47 +0000 (09:50 +0200)
commitce6b8ccdef959ba86b2711e090e84a987a000bf7
tree9af15f722443674ace27b3e8049b1e4ec7ddb771
parente9ea0b30ada008f4e65933f449db6894832cb242
xen/xenbus: fix xenbus_setup_ring()

Commit 4573240f0764 ("xen/xenbus: eliminate xenbus_grant_ring()")
introduced an error for initialization of multi-page rings.

Cc: stable@vger.kernel.org
Fixes: 4573240f0764 ("xen/xenbus: eliminate xenbus_grant_ring()")
Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/xenbus/xenbus_client.c