From: David Miller <davem@davemloft.net>
To: tklauser@distanz.ch
Cc: peppe.cavallaro@st.com, netdev@vger.kernel.org
Subject: Re: [PATCH] net: stmmac: Check return value of alloc_dma_desc_resources()
Date: Mon, 24 Feb 2014 18:58:35 -0500 (EST) [thread overview]
Message-ID: <20140224.185835.1558121522876883252.davem@davemloft.net> (raw)
In-Reply-To: <1393070943-3466-1-git-send-email-tklauser@distanz.ch>
From: Tobias Klauser <tklauser@distanz.ch>
Date: Sat, 22 Feb 2014 13:09:03 +0100
> alloc_dma_desc_resources() returns an error value and the next line
> actually checks for it, so assign the return value properly.
>
> Found by the coverity scanner.
>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Applied, thanks.
prev parent reply other threads:[~2014-02-24 23:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 12:09 [PATCH] net: stmmac: Check return value of alloc_dma_desc_resources() Tobias Klauser
2014-02-24 15:22 ` Giuseppe CAVALLARO
2014-02-24 23:58 ` David Miller [this message]
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=20140224.185835.1558121522876883252.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.com \
--cc=tklauser@distanz.ch \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).