Re: [PATCH] thunderbolt: Fix error code in tb_port_is_width_supported()

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

 



On Tue, Mar 03, 2020 at 01:17:16PM +0300, Dan Carpenter wrote:
> This function is type bool, and it's supposed to return true on success. 
> Unfortunately, this path takes negative error codes and casts them to
> bool (true) so it's treated as success instead of failure.
> 
> Fixes: 91c0c12080d0 ("thunderbolt: Add support for lane bonding")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied to fixes, thanks!



[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