]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fix warnings in yaffs
authorSimon Glass <sjg@chromium.org>
Tue, 15 Nov 2011 18:17:07 +0000 (18:17 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:39:17 +0000 (21:39 +0100)
commit986bb0e6a0c24fe1678b437be838986068a49644
treeb383d5674e8e0dc3237874b2ff6a661b5734d6b6
parentf45e91c4457ce81f867d50f6492d374098ce4f07
Fix warnings in yaffs

Sorry if this is already fixed somewhere - I could not find it.

This fixes the warnings show below.

yaffs_tagscompat.c: In function 'yaffs_TagsCompatabilityReadChunkWithTagsFromNAND':
yaffs_tagscompat.c:151: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:150: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:149: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:148: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:147: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:146: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:145: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:144: warning: dereferencing pointer 'tu' does break strict-aliasing rules
yaffs_tagscompat.c:141: note: initialized from here

Signed-off-by: Simon Glass <sjg@chromium.org>
fs/yaffs2/yaffs_tagscompat.c