From: Dan Carpenter <dan.carpenter@oracle.com>
To: Kyungmin Park <kyungmin.park@samsung.com>,
Adrian Hunter <adrian.hunter@intel.com>
Cc: linux-mmc@vger.kernel.org
Subject: Re: uninitialized variable in mmc_blk_issue_secdiscard_rq()
Date: Tue, 6 Dec 2011 11:15:25 +0300 [thread overview]
Message-ID: <20111206081525.GE3374@mwanda> (raw)
In-Reply-To: <20111206080842.GA10021@elgon.mountain>
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On Tue, Dec 06, 2011 at 11:08:59AM +0300, Dan Carpenter wrote:
> There is a new gcc warning in this function:
>
> drivers/mmc/card/block.c:836:18: warning: ‘arg’ may be used uninitialized in this function [-Wuninitialized]
>
Sorry for the bad subject. The email escaped before it should have.
Same thing for "nr" and "from".
drivers/mmc/card/block.c:835:6: warning: ‘nr’ may be used uninitialized in this function [-Wuninitialized]
drivers/mmc/card/block.c:835:6: warning: ‘from’ may be used uninitialized in this function [-Wuninitialized]
regards,
dan carpenter
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2011-12-06 8:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 8:08 asdf Dan Carpenter
2011-12-06 8:15 ` Dan Carpenter [this message]
2011-12-06 8:48 ` asdf Kyungmin Park
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=20111206081525.GE3374@mwanda \
--to=dan.carpenter@oracle.com \
--cc=adrian.hunter@intel.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-mmc@vger.kernel.org \
/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