From: Kalle Valo <kvalo@codeaurora.org>
To: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Cc: sgruszka@redhat.com, helmut.schaa@googlemail.com,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: rt2x00usb: Fix error return code
Date: Sat, 03 Sep 2016 10:07:05 +0000 [thread overview]
Message-ID: <20160903100705.35E6B62023@smtp.codeaurora.org> (raw)
In-Reply-To: <1470926334-24532-1-git-send-email-christophe.jaillet@wanadoo.fr>
Christophe Jaillet <christophe.jaillet@wanadoo.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@wanadoo.fr>
> Acked-by: Stanislaw Gruszka <sgruszka@redhat.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/
WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Cc: sgruszka@redhat.com, helmut.schaa@googlemail.com,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Subject: Re: rt2x00usb: Fix error return code
Date: Sat, 3 Sep 2016 10:07:05 +0000 (UTC) [thread overview]
Message-ID: <20160903100705.35E6B62023@smtp.codeaurora.org> (raw)
In-Reply-To: <1470926334-24532-1-git-send-email-christophe.jaillet@wanadoo.fr>
Christophe Jaillet <christophe.jaillet@wanadoo.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@wanadoo.fr>
> Acked-by: Stanislaw Gruszka <sgruszka@redhat.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/
next prev parent reply other threads:[~2016-09-03 10:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 14:38 [PATCH] rt2x00usb: Fix error return code Christophe JAILLET
2016-08-11 14:38 ` Christophe JAILLET
2016-08-11 14:48 ` Stanislaw Gruszka
2016-08-11 14:48 ` Stanislaw Gruszka
2016-09-03 10:07 ` Kalle Valo [this message]
2016-09-03 10:07 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160903100705.35E6B62023@smtp.codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=helmut.schaa@googlemail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=sgruszka@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.