mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
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>
(cherry picked from commit d3a4607fc6
)
This commit is contained in:
parent
84f4710689
commit
38847ebee0
@ -89,8 +89,8 @@ int parse_fit_partitions(struct parsed_partitions *state, u64 fit_start_sector,
|
|||||||
size_t label_min;
|
size_t label_min;
|
||||||
struct device_node *np = NULL;
|
struct device_node *np = NULL;
|
||||||
const char *bootconf;
|
const char *bootconf;
|
||||||
char *loadable;
|
const char *loadable;
|
||||||
char *select_rootfs = NULL;
|
const char *select_rootfs = NULL;
|
||||||
bool found;
|
bool found;
|
||||||
int loadables_rem_len, loadable_len;
|
int loadables_rem_len, loadable_len;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user