All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org, netdev@vger.kernel.org
Subject: Re: [PATCH] gianfar: fix compile warning
Date: Tue, 04 Dec 2007 15:07:01 -0500	[thread overview]
Message-ID: <4755B365.1010108@pobox.com> (raw)
In-Reply-To: <20071202050927.8827.27154.stgit@trillian.secretlab.ca>

Grant Likely wrote:
> From: Grant Likely <grant.likely@secretlab.ca>
> 
> Eliminate an uninitialized variable warning.  The code is correct, but
> a pointer to the automatic variable 'addr' is passed to dma_alloc_coherent.
> Since addr has never been initialized, and the compiler doesn't know
> what dma_alloc_coherent will do with it, it complains.
> 
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
> ---
> 
> Jeff, this one should go in for 2.6.24

applied #upstream-fixes

WARNING: multiple messages have this Message-ID (diff)
From: Jeff Garzik <jgarzik@pobox.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org, netdev@vger.kernel.org,
	galak@kernel.crashing.org, afleming@freescale.com
Subject: Re: [PATCH] gianfar: fix compile warning
Date: Tue, 04 Dec 2007 15:07:01 -0500	[thread overview]
Message-ID: <4755B365.1010108@pobox.com> (raw)
In-Reply-To: <20071202050927.8827.27154.stgit@trillian.secretlab.ca>

Grant Likely wrote:
> From: Grant Likely <grant.likely@secretlab.ca>
> 
> Eliminate an uninitialized variable warning.  The code is correct, but
> a pointer to the automatic variable 'addr' is passed to dma_alloc_coherent.
> Since addr has never been initialized, and the compiler doesn't know
> what dma_alloc_coherent will do with it, it complains.
> 
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
> ---
> 
> Jeff, this one should go in for 2.6.24

applied #upstream-fixes



  reply	other threads:[~2007-12-04 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-02  5:10 [PATCH] gianfar: fix compile warning Grant Likely
2007-12-04 20:07 ` Jeff Garzik [this message]
2007-12-04 20:07   ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2007-10-18  3:54 Grant Likely

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=4755B365.1010108@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=netdev@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 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.