Re: [U-Boot] [PATCH] fsl_sata: Fix compiler warnings shown by gcc-4.4

2009-07-20 Thread Wolfgang Denk
Dear Kumar Gala, In message <124701-22858-1-git-send-email-ga...@kernel.crashing.org> you wrote: > From: galak > > Update fsl_sata to use common structures instead of casting > back and forth between the fsl specific ones and the common ones > (which are identical). > > fsl_sata.c: In func

[U-Boot] [PATCH] fsl_sata: Fix compiler warnings shown by gcc-4.4

2009-07-07 Thread Kumar Gala
From: galak Update fsl_sata to use common structures instead of casting back and forth between the fsl specific ones and the common ones (which are identical). fsl_sata.c: In function 'scan_sata': fsl_sata.c:550: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c: