[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160903100705.35E6B62023@smtp.codeaurora.org>
Date: Sat, 3 Sep 2016 10:07:05 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Christophe Jaillet <christophe.jaillet@...adoo.fr>
Cc: sgruszka@...hat.com, helmut.schaa@...glemail.com,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: rt2x00usb: Fix error return code
Christophe Jaillet <christophe.jaillet@...adoo.fr> wrote:
> We know that 'retval = 0' because it has been tested a few lines above.
> So, if 'devm_kmalloc' fails, 0 will be returned instead of an error code.
> Return -ENOMEM instead.
>
> Fixes: 8b4c0009313f ("rt2x00usb: Use usb anchor to manage URB")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> Acked-by: Stanislaw Gruszka <sgruszka@...hat.com>
Thanks, 1 patch applied to wireless-drivers-next.git:
410280bac622 rt2x00usb: Fix error return code
--
Sent by pwcli
https://patchwork.kernel.org/patch/9275379/
Powered by blists - more mailing lists