mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
828d4cdd01
Fix the following compile error found on odroid-xu4: checks.c: In function ‘check_simple_bus_reg’: checks.c:876:41: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t{aka long long unsigned int}’ [-Werror=format=] snprintf(unit_addr, sizeof(unit_addr), "%lx", reg); ^ checks.c:876:41: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] cc1: all warnings being treated as errors Makefile:304: recipe for target 'checks.o' failed make: *** [checks.o] Error 1 Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> [dwg: Correct new format to be correct in general] Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [robh: cherry-picked from upstream dtc commit 2a42b14d0d03] Signed-off-by: Rob Herring <robh@kernel.org> |
||
---|---|---|
.. | ||
libfdt | ||
.gitignore | ||
checks.c | ||
data.c | ||
dt_to_config | ||
dtc-lexer.l | ||
dtc-lexer.lex.c_shipped | ||
dtc-parser.tab.c_shipped | ||
dtc-parser.tab.h_shipped | ||
dtc-parser.y | ||
dtc.c | ||
dtc.h | ||
dtx_diff | ||
fdtdump.c | ||
fdtget.c | ||
fdtput.c | ||
flattree.c | ||
fstree.c | ||
livetree.c | ||
Makefile | ||
Makefile.dtc | ||
srcpos.c | ||
srcpos.h | ||
treesource.c | ||
update-dtc-source.sh | ||
util.c | ||
util.h | ||
version_gen.h |