Messages in this thread | | | Date | Mon, 3 Jun 2019 14:20:46 +0200 | From | Greg KH <> | Subject | Re: [PATCH] staging: rtl8712: Change _SUCCESS/_FAIL to 0/-ENOMEM |
| |
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@gmail.com> > --- > drivers/staging/rtl8712/rtl871x_cmd.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Also does not apply to my tree :(
| |