aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-17 08:41:44 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-17 08:42:05 +0100
commitb3f41971393f21803db5f940b3756b51c53ae5eb (patch)
treede2b0ab2c84ca990d1b594b253f2718f79416834 /target/linux/ramips
parente1b4fd52a8efe1dfcad4f4fbe59f1c35a09be0bd (diff)
downloadupstream-b3f41971393f21803db5f940b3756b51c53ae5eb.tar.gz
upstream-b3f41971393f21803db5f940b3756b51c53ae5eb.tar.bz2
upstream-b3f41971393f21803db5f940b3756b51c53ae5eb.zip
mtd: fix imagetag compilation
Commit b5b0796a1322 added an uint32_t to mtd.h without including stdint, which results in a compilation error for those files not including stdint.h. In file included from imagetag.c:36: mtd.h:15:8: error: unknown type name 'uint32_t' extern uint32_t opt_trxmagic; ^~~~~~~~ imagetag.c: In function 'trx_fixup': imagetag.c:180:10: warning: unused variable 'res' [-Wunused-variable] ssize_t res; ^~~ imagetag.c:177:14: warning: unused variable 'scan' [-Wunused-variable] void *ptr, *scan; ^~~~ imagetag.c: In function 'trx_check': imagetag.c:246:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] struct bcm_tag *tag = (const struct bcm_tag *) buf; ^ make[3]: *** [<builtin>: imagetag.o] Error 1 Fixes: b5b0796a1322 ("mtd: add option for TRX magic to fixtrx") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/ramips')
0 files changed, 0 insertions, 0 deletions