diff options
| author | Paul Durrant | 2018-05-17 17:35:58 +0200 |
|---|---|---|
| committer | Stefano Stabellini | 2018-05-22 20:43:22 +0200 |
| commit | 443c3c9cf1a18afcc705745d18101a4ea4de5b26 (patch) | |
| tree | f9a46aa70feaefc5db59abd7832788e68306d100 /scripts | |
| parent | xen_disk: use a single entry iovec (diff) | |
| download | qemu-443c3c9cf1a18afcc705745d18101a4ea4de5b26.tar.gz qemu-443c3c9cf1a18afcc705745d18101a4ea4de5b26.tar.xz qemu-443c3c9cf1a18afcc705745d18101a4ea4de5b26.zip | |
xen_disk: be consistent with use of xendev and blkdev->xendev
Certain functions in xen_disk are called with a pointer to xendev
(struct XenDevice *). They then use container_of() to acces the surrounding
blkdev (struct XenBlkDev) but then in various places use &blkdev->xendev
when use of the original xendev pointer is shorter to express and clearly
equivalent.
This patch is a purely cosmetic patch which makes sure there is a xendev
pointer on stack for any function where the pointer is need on multiple
occasions modified those functions to use it consistently.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
