[PATCH] staging: rtl8712: Change _SUCCESS/_FAIL to 0/-ENOMEM
gregkh at linuxfoundation.org
Mon Jun 3 12:20:46 UTC 2019
On Fri, May 31, 2019 at 02:36:38AM +0530, Nishka Dasgupta wrote:
> Change return values _SUCCESS and _FAIL to 0 and -ENOMEM respectively,
> to match the convention in the drivers (and also because the return
> value of this changed function is never checked anyway).
> Change return type of the function to int (from u8) to allow the return
> of -ENOMEM.
> Signed-off-by: Nishka Dasgupta <nishkadg.linux at gmail.com>
> drivers/staging/rtl8712/rtl871x_cmd.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Also does not apply to my tree :(
More information about the devel