• Wolfgang Denk's avatar
    board/w7o/vpd.c: Fix GCC 4.6 compile warnings · 3073abdd
    Wolfgang Denk authored
    Fix:
    vpd.c: In function 'vpd_is_valid':
    vpd.c:168:2: warning: dereferencing type-punned pointer will break
    strict-aliasing rules [-Wstrict-aliasing]
    vpd.c:169:2: warning: dereferencing type-punned pointer will break
    strict-aliasing rules [-Wstrict-aliasing]
    vpd.c:178:2: warning: dereferencing type-punned pointer will break
    strict-aliasing rules [-Wstrict-aliasing]
    vpd.c: In function 'vpd_get_data':
    vpd.c:281:6: warning: dereferencing type-punned pointer will break
    strict-aliasing rules [-Wstrict-aliasing]
    vpd.c:291:6: warning: dereferencing type-punned pointer will break
    strict-aliasing rules [-Wstrict-aliasing]
    vpd.c:297:6: warning: dereferencing type-punned pointer will break
    strict-aliasing rules [-Wstrict-aliasing]
    vpd.c:302:6: warning: dereferencing type-punned pointer will break
    strict-aliasing rules [-Wstrict-aliasing]
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    3073abdd
Name
Last commit
Last update
..
Makefile Loading commit data...
cmd_vpd.c Loading commit data...
errors.h Loading commit data...
flash.c Loading commit data...
fpga.c Loading commit data...
fsboot.c Loading commit data...
init.S Loading commit data...
post1.S Loading commit data...
post2.c Loading commit data...
u-boot.lds.debug Loading commit data...
vpd.c Loading commit data...
vpd.h Loading commit data...
w7o.c Loading commit data...
w7o.h Loading commit data...
watchdog.c Loading commit data...