diff options
author | Juergen Gross <jgross@suse.com> | 2020-03-05 16:51:29 +0100 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2020-03-05 09:55:01 -0600 |
commit | 4ab50af63d2eb5da5c1571f8518948514f535782 (patch) | |
tree | 3a116da00caf05542e728e100d495f1ea1e30fa0 /drivers/hsi | |
parent | 2f69a110e7bba3ec6bc089a2f736ca0941d887ed (diff) |
xen/blkfront: fix ring info addressing
Commit 0265d6e8ddb890 ("xen/blkfront: limit allocated memory size to
actual use case") made struct blkfront_ring_info size dynamic. This is
fine when running with only one queue, but with multiple queues the
addressing of the single queues has to be adapted as the structs are
allocated in an array.
Fixes: 0265d6e8ddb890 ("xen/blkfront: limit allocated memory size to actual use case")
Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Link: https://lore.kernel.org/r/20200305155129.28326-1-jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions