Thread (3 messages) flat view 3 messages, 3 authors, 2021-05-14

Re: [PATCH] cxl: Fix an error message

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-05-14 11:43:27
Also in: kernel-janitors, lkml

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.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help