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>
This commit is contained in:
Daniel Golle 2022-03-24 02:56:01 +00:00
parent e89c85249e
commit d3a4607fc6
1 changed files with 2 additions and 2 deletions

View File

@ -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;