From: Wolfgang Denk Date: Thu, 23 Jul 2009 21:05:09 +0200 Subject: [U-Boot] [PATCH] ahci: Fix gcc 4.4 compiler warning In-Reply-To: <1247495041-8605-2-git-send-email-galak@kernel.crashing.org> References: <1247495041-8605-1-git-send-email-galak@kernel.crashing.org> <1247495041-8605-2-git-send-email-galak@kernel.crashing.org> Message-ID: <20090723190509.95EF6832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <1247495041-8605-2-git-send-email-galak@kernel.crashing.org> you wrote: > ahci.c: In function 'ata_scsiop_read_capacity10': > ahci.c:616: warning: dereferencing type-punned pointer will break strict-aliasing rules > > Signed-off-by: Kumar Gala > --- > drivers/block/ahci.c | 14 ++++++-------- > 1 files changed, 6 insertions(+), 8 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 How come everyone's going so slow if it's called rush hour?