[U-Boot] [PATCH] fs/reiserfs/reiserfs.c: Fix compiler warning

Wolfgang Denk wd at denx.de
Mon Dec 12 14:25:43 CET 2011


Dear Anatolij Gustschin,

In message <1323695777-4107-1-git-send-email-agust at denx.de> you wrote:
> Fix:
> reiserfs.c: In function 'reiserfs_mount':
> reiserfs.c:360:22: warning: dereferencing type-punned pointer
> will break strict-aliasing rules [-Wstrict-aliasing]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> Note:
>  - checkpatch warnings intentionally not fixed to preserve
>    coding style used in the file. Otherwise it would look
>    ugly.
> 
>  fs/reiserfs/reiserfs.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 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
Make it right before you make it faster.


More information about the U-Boot mailing list