diff options
author | Irvin Cote <irvin.cote@insa-lyon.fr> | 2023-02-09 17:43:57 -0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-02-14 06:39:02 +0100 |
commit | dc785d69d753a3894c93afc23b91404652382ead (patch) | |
tree | cc97f36f6bb6089cb02e9a2ce56f5df6c8ee43a1 /lib/mpi/mpi-div.c | |
parent | 924bd96ea27d53706147a94b8e576080535785df (diff) |
nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
Don't mix NULL and ERR_PTR returns.
Fixes: 2e87570be9d2 ("nvme-pci: factor out a nvme_pci_alloc_dev helper")
Signed-off-by: Irvin Cote <irvin.cote@insa-lyon.fr>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions