diff options
| author | Christoph Hellwig <hch@lst.de> | 2022-11-08 10:56:49 +0100 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2022-11-15 10:56:20 +0100 |
| commit | 65a54646420e1409760c2b9f0e1a5e5feca1364e (patch) | |
| tree | e7498f8e3ec2d5a21432e01a24a93e0e497708f6 /scripts/gdb/linux/utils.py | |
| parent | a6ee7f19ebfd158ffb3a6ebacf20ae43549bed05 (diff) | |
nvme-pci: simplify nvme_dbbuf_dma_alloc
Move the OACS check and the error checking into nvme_dbbuf_dma_alloc so
that an upcoming second caller doesn't have to duplicate this boilerplate
code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
