All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] UBIFS: Fix dereferencing type-punned pointer compiler warning
Date: Tue, 11 Jan 2011 11:10:12 +0100	[thread overview]
Message-ID: <201101111110.12998.sr@denx.de> (raw)
In-Reply-To: <1293271126-6322-1-git-send-email-dirk.behme@gmail.com>

On Saturday 25 December 2010 10:58:46 Dirk Behme wrote:
> Fix compiler warning
> 
> In file included from ubifs.h:2137:0,
>                  from ubifs.c:26:
> misc.h: In function 'ubifs_idx_key':
> misc.h:263:26: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> 
> seen with gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50).
> 
> No functional change.

Applied to u-boot-ubi. Thanks.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

      reply	other threads:[~2011-01-11 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-25  9:58 [U-Boot] [PATCH] UBIFS: Fix dereferencing type-punned pointer compiler warning Dirk Behme
2011-01-11 10:10 ` Stefan Roese [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=201101111110.12998.sr@denx.de \
    --to=sr@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 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.