diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-09-22 10:38:19 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-05 09:35:52 +0100 |
| commit | 9406e0d97ec1923b261b40f11667145fb29e89de (patch) | |
| tree | 874c28151bc897aa9e0599f585b84ae71be8df3a /scripts/block-coroutine-wrapper.py | |
| parent | 37d7a45abdfa7376ba04dc68ccc331a5b406d672 (diff) | |
| download | focaccia-qemu-9406e0d97ec1923b261b40f11667145fb29e89de.tar.gz focaccia-qemu-9406e0d97ec1923b261b40f11667145fb29e89de.zip | |
block/nvme: Drop NVMeRegs structure, directly use NvmeBar
NVMeRegs only contains NvmeBar. Simplify the code by using NvmeBar directly. This triggers a checkpatch.pl error: ERROR: Use of volatile is usually wrong, please add a comment #30: FILE: block/nvme.c:691: + volatile NvmeBar *regs; This is a false positive as in our case we are using I/O registers, so the 'volatile' use is justified. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20200922083821.578519-5-philmd@redhat.com>
Diffstat (limited to 'scripts/block-coroutine-wrapper.py')
0 files changed, 0 insertions, 0 deletions