[U-Boot] [PATCH] ahci: Fix gcc 4.4 compiler warning

2009-07-13 Thread Kumar Gala
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(-) diff --git a/drivers/block/ahci.c

Re: [U-Boot] [PATCH] ahci: Fix gcc 4.4 compiler warning

2009-07-23 Thread Wolfgang Denk
Dear Kumar Gala, In message <1247495041-8605-2-git-send-email-ga...@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/blo