[PATCH] cxl: Fix an error message

Greg KH gregkh at linuxfoundation.org
Fri May 14 21:43:21 AEST 2021

On Wed, May 05, 2021 at 09:38:49PM +0200, Christophe JAILLET wrote:
> 'rc' is known to be 0 here.
> Initialize 'rc' with the expected error code before using it.
> While at it, avoid the affectation of 'rc' in a 'if' to make things more
> obvious and linux style.
> Fixes: f204e0b8ce ("cxl: Driver code for powernv PCIe based cards for userspace access")

You need a full 12 digits for the SHA1, otherwise our scripts complain
about it :(

I'll fix it up here, but please fix your tools.


greg k-h

More information about the Linuxppc-dev mailing list