Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcd: fix error codes in pcd_init_unit()
commit d0ac7a3 upstream. Return -ENODEV on these error paths instead of returning success. Fixes: af761f2 ("pcd: cleanup initialization") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20211001122623.GA2283@kili Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information