Re: [PATCH net-next] net/mlx5e: Fix error return code in mlx5e_tc_esw_init()

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

 



On Wed, 2021-02-10 at 07:46 +0000, Wei Yongjun wrote:
> Fix to return negative error code from the mlx5e_tc_tun_init() error
> handling case instead of 0, as done elsewhere in this function.
> 
> This commit also using 0 instead of 'ret' when success since it is
> always equal to 0.
> 
> Fixes: 8914add2c9e5 ("net/mlx5e: Handle FIB events to update tunnel
> endpoint device")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>


Applied to net-next-mlx5,

Thanks!




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux