From: laurentiu.tudor@nxp.com (Laurentiu Tudor)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] staging: fsl-mc: fix uninitialized variable use
Date: Mon, 27 Nov 2017 09:31:21 +0000 [thread overview]
Message-ID: <5A1BDB08.5070808@nxp.com> (raw)
In-Reply-To: <20171127090817.GA14195@kroah.com>
On 11/27/2017 11:08 AM, Greg KH wrote:
> On Mon, Nov 27, 2017 at 11:01:34AM +0200, laurentiu.tudor at nxp.com wrote:
>> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
>>
>> Fix this warning triggering on a powerpc build:
>> warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized]
>>
>> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
>> ---
>
> You forgot a reported-by line :(
>
> And I beat you by about 30 minutes to this patch, sorry about that.
Sorry, I guess I'm slow on mondays before having my morning coffee. :-(
> Next time always test-build your patches...
I did but it didn't show up on my version of powerpc toolchain (gcc
4.8.1). Maybe it's too old ...
---
Best Regards, Laurentiu
next prev parent reply other threads:[~2017-11-27 9:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 9:01 [PATCH] staging: fsl-mc: fix uninitialized variable use laurentiu.tudor at nxp.com
2017-11-27 9:08 ` Greg KH
2017-11-27 9:31 ` Laurentiu Tudor [this message]
2017-11-27 9:44 ` Greg KH
2017-11-28 14:13 ` Dan Carpenter
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=5A1BDB08.5070808@nxp.com \
--to=laurentiu.tudor@nxp.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).