[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151025012143.GA7624@kroah.com>
Date: Sat, 24 Oct 2015 18:21:43 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Luis de Bethencourt <luisbg@....samsung.com>
Cc: linux-kernel@...r.kernel.org, johnny.kim@...el.com,
rachel.kim@...el.com, chris.park@...el.com, tony.cho@...el.com,
glen.lee@...el.com, leo.kim@...el.com,
linux-wireless@...r.kernel.org, devel@...verdev.osuosl.org
Subject: Re: [PATCH] staging: wilc1000: return -ENOMEM when kmalloc failed
On Thu, Oct 22, 2015 at 12:07:36AM +0100, Luis de Bethencourt wrote:
> The driver is using -1 instead of the -ENOMEM defined macro to specify that
> a buffer allocation failed.
>
> Fixes smatch warning and similars:
> drivers/staging/wilc1000/host_interface.c:1782 Handle_Key() warn:
> returning -1 instead of -ENOMEM is sloppy
>
> Signed-off-by: Luis de Bethencourt <luisbg@....samsung.com>
> ---
> drivers/staging/wilc1000/host_interface.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
Doesn't apply against my tree anymore, can you refresh this against the
staging-testing branch of staging.git and resend?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists