public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 11/19] sata_dwc.c: Fix GCC 4.6 build warnings
Date: Wed, 16 Nov 2011 21:16:28 +0100	[thread overview]
Message-ID: <20111116201628.B2FC6140874F@gemini.denx.de> (raw)
In-Reply-To: <1321380169-6634-1-git-send-email-sr@denx.de>

Dear Stefan Roese,

In message <1321380169-6634-1-git-send-email-sr@denx.de> you wrote:
> Fix:
> sata_dwc.c: In function 'sata_dwc_softreset':
> sata_dwc.c:444:5: warning: variable 'status' set but not used [-Wunused-but-set-variable]
> sata_dwc.c:443:6: warning: variable 'serror' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'scan_sata':
> sata_dwc.c:654:16: warning: variable 'lba_desc' set but not used [-Wunused-but-set-variable]
> sata_dwc.c:538:16: warning: variable 'xfer_mask' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'ata_dev_read_id':
> sata_dwc.c:747:14: warning: variable 'reason' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'ata_dev_read_sectors':
> sata_dwc.c:1810:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
> sata_dwc.c: In function 'ata_dev_write_sectors':
> sata_dwc.c:1994:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
>  drivers/block/sata_dwc.c |   35 +++--------------------------------
>  1 files changed, 3 insertions(+), 32 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have yet to add the ESP-driver to the kernel to read  the  mind  of
the user...                                       - Linus Torvalds in
      <Pine.LNX.3.91.960426110644.24860I-100000@linux.cs.Helsinki.FI>

      reply	other threads:[~2011-11-16 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-15 18:02 [U-Boot] [PATCH 11/19] sata_dwc.c: Fix GCC 4.6 build warnings Stefan Roese
2011-11-16 20:16 ` Wolfgang Denk [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=20111116201628.B2FC6140874F@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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