On Fri, Sep 25, 2020 at 15:16:12 +0200, Ján Tomko wrote: > Check whether the alloc result is negative (which is > cannot happen with current code) to reduce churn in > the following commit. > > Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> > --- > src/storage/storage_backend_scsi.c | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>