Re: [PATCH net-next] cxgb4: cleanup error code in setup_sge_queues_uld()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Date: Thu, 28 May 2020 15:49:57 +0300

> The caller doesn't care about the error codes, they only check for zero
> vs non-zero.  Still, it's better to preserve the negative error codes
> from alloc_uld_rxqs() instead of changing it to 1.  We can also return
> directly if there is a failure.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied.



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux