public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Lechner <david@lechnology.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Sekhar Nori <nsekhar@ti.com>, Kevin Hilman <khilman@kernel.org>,
	Russell King <linux@arm.linux.org.uk>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Krzysztof Kozlowski <k.kozlowski.k@gmail.com>,
	Peter Ujfalusi <peter.ujfalusi@ti.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	linux-mmc <linux-mmc@vger.kernel.org>
Subject: Re: [PATCH v3 0/5] davinci_mmc fixes
Date: Tue, 5 Apr 2016 12:07:43 -0500	[thread overview]
Message-ID: <5703F0DF.3020209@lechnology.com> (raw)
In-Reply-To: <5703ECFE.6060706@lechnology.com>

On 04/05/2016 11:51 AM, David Lechner wrote:
> On 04/05/2016 06:12 AM, Ulf Hansson wrote:
>>
>> Patch 3 triggers a compiler warning, please fix it.
>>
>> ../drivers/mmc/host/davinci_mmc.c: In function ‘davinci_mmcsd_probe’:
>> ../drivers/mmc/host/davinci_mmc.c:1208:6: warning: ‘ret’ may be used
>> uninitialized in this function [-Wmaybe-uninitialized]
>>
>> I have applied patch 1->2 for next, so no need to resend these.
>>
>> Kind regards
>> Uffe
>>
>
> I am not getting a compiler warning with this commit. Can you please
> provide a git link so that I can be sure I am building using the same
> branch that you are using?


I think I figured it out. I am applying the patches on top of the next 
branch from git://git.linaro.org/people/ulf.hansson/mmc.git. However, I 
am still not getting a compiler warning. Perhaps it has to do with the 
gcc version. I'm not exactly sure how to fix it since it is really not 
used uninitialized. Just set it to 0 in the variable declaration?

  reply	other threads:[~2016-04-05 17:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17  3:45 [PATCH v3 0/5] davinci_mmc fixes David Lechner
2016-03-17  3:45 ` [PATCH v3 1/5] mmc: davinci_mmc: Use dma_request_chan() to requesting DMA channel David Lechner
2016-03-17  3:45 ` [PATCH v3 2/5] mmc: davinci: remove matching string David Lechner
2016-03-17  3:45 ` [PATCH v3 3/5] mmc: davinci: fix unwinding in probe David Lechner
2016-03-17  3:45 ` [PATCH v3 4/5] mmc: davinci: prepare clock David Lechner
2016-03-17  3:45 ` [PATCH v3 5/5] ARM: davinci: remove mmc dma resources David Lechner
2016-04-05 11:12 ` [PATCH v3 0/5] davinci_mmc fixes Ulf Hansson
2016-04-05 16:51   ` David Lechner
2016-04-05 17:07     ` David Lechner [this message]
2016-04-05 17:11       ` David Lechner

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=5703F0DF.3020209@lechnology.com \
    --to=david@lechnology.com \
    --cc=jh80.chung@samsung.com \
    --cc=k.kozlowski.k@gmail.com \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=peter.ujfalusi@ti.com \
    --cc=ulf.hansson@linaro.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