diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-03-24 02:56:01 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-03-24 03:27:12 +0000 |
commit | d3a4607fc61f890d5d4bedef6e542046038294d9 (patch) | |
tree | c2af8f9eee680d4be3ffa0c7a068e8aa12032060 /target/linux/generic/files | |
parent | e89c85249e311e9a376d07cda33c9dc39b12a906 (diff) | |
download | upstream-d3a4607fc61f890d5d4bedef6e542046038294d9.tar.gz upstream-d3a4607fc61f890d5d4bedef6e542046038294d9.tar.bz2 upstream-d3a4607fc61f890d5d4bedef6e542046038294d9.zip |
kernel: generic: fix warning in FIT partition parser
Use 'const char *' where necessary to make gcc get quiet.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/block/partitions/fit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/block/partitions/fit.c b/target/linux/generic/files/block/partitions/fit.c index f6f15f538a..75516af493 100644 --- a/target/linux/generic/files/block/partitions/fit.c +++ b/target/linux/generic/files/block/partitions/fit.c @@ -89,8 +89,8 @@ int parse_fit_partitions(struct parsed_partitions *state, u64 fit_start_sector, size_t label_min; struct device_node *np = NULL; const char *bootconf; - char *loadable; - char *select_rootfs = NULL; + const char *loadable; + const char *select_rootfs = NULL; bool found; int loadables_rem_len, loadable_len; |