Skip to content
Commit 566484a9 authored by Jens Axboe's avatar Jens Axboe
Browse files

pktcdvd: fix setting of 'ret' error return for a few cases



We initialize it to -ENOMEM, but then later overwrite it. After
overwriting, we don't set it again for two later failure cases.

Reported-by: default avatarJason Wood <jasonwood2031@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 599d067d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment