[PATCH 4/4] dtc/libfdt: sparse fixes
Jon Loeliger
jdl at jdl.com
Mon Jan 7 08:58:52 EST 2013
> libfdt/fdt.c:104:28: warning: incorrect type in argument 1 (different base types)
> libfdt/fdt.c:104:28: expected restricted fdt32_t [usertype] x
> libfdt/fdt.c:104:28: got unsigned int const [unsigned] [usertype] <noident>
> libfdt/fdt.c:124:40: warning: incorrect type in argument 1 (different base types)
> libfdt/fdt.c:124:40: expected restricted fdt32_t [usertype] x
> libfdt/fdt.c:124:40: got unsigned int const [unsigned] [usertype] <noident>
> libfdt/fdt_ro.c:337:29: warning: incorrect type in argument 1 (different base types)
> libfdt/fdt_ro.c:337:29: expected restricted fdt32_t [usertype] x
> libfdt/fdt_ro.c:337:29: got unsigned int const [unsigned] [usertype] <noident>
> libfdt/fdt_rw.c:370:17: warning: incorrect type in assignment (different base types)
> libfdt/fdt_rw.c:370:17: expected unsigned int [unsigned] [usertype] <noident>
> libfdt/fdt_rw.c:370:17: got restricted fdt32_t
> libfdt/fdt_sw.c:164:13: warning: incorrect type in assignment (different base types)
> libfdt/fdt_sw.c:164:13: expected unsigned int [unsigned] [usertype] <noident>
> libfdt/fdt_sw.c:164:13: got restricted fdt32_t
> libfdt/fdt_sw.c:227:14: warning: incorrect type in assignment (different base types)
> libfdt/fdt_sw.c:227:14: expected unsigned int [unsigned] [usertype] <noident>
> libfdt/fdt_sw.c:227:14: got restricted fdt32_t
> libfdt/fdt_wip.c:80:20: warning: incorrect type in assignment (different base types)
> libfdt/fdt_wip.c:80:20: expected unsigned int [unsigned] [usertype] <noident>
> libfdt/fdt_wip.c:80:20: got restricted fdt32_t
> libfdt/libfdt.h:1001:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:1001:13: expected unsigned long [unsigned] [usertype] val
> libfdt/libfdt.h:1001:13: got restricted fdt64_t
> libfdt/libfdt.h:1157:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:1157:13: expected unsigned int [unsigned] [usertype] val
> libfdt/libfdt.h:1157:13: got restricted fdt32_t
> libfdt/libfdt.h:1192:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:1192:13: expected unsigned long [unsigned] [usertype] val
> libfdt/libfdt.h:1192:13: got restricted fdt64_t
> libfdt/libfdt.h:1299:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:1299:13: expected unsigned int [unsigned] [usertype] val
> libfdt/libfdt.h:1299:13: got restricted fdt32_t
> libfdt/libfdt.h:1334:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:1334:13: expected unsigned long [unsigned] [usertype] val
> libfdt/libfdt.h:1334:13: got restricted fdt64_t
> libfdt/libfdt.h:885:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:885:13: expected unsigned int [unsigned] [usertype] val
> libfdt/libfdt.h:885:13: got restricted fdt32_t
> libfdt/libfdt.h:920:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:920:13: expected unsigned long [unsigned] [usertype] val
> libfdt/libfdt.h:920:13: got restricted fdt64_t
> libfdt/libfdt.h:996:13: warning: incorrect type in assignment (different base types)
> libfdt/libfdt.h:996:13: expected unsigned int [unsigned] [usertype] val
> libfdt/libfdt.h:996:13: got restricted fdt32_t
>
> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Applied.
Thanks,
jdl
More information about the devicetree-discuss
mailing list