Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36560d25 authored by David Howells's avatar David Howells Committed by David Woodhouse
Browse files

[MTD] Fix const assignment in the MTD command line partitioning driver



Fix const to non-const pointer assignment in the MTD command line partitioning
driver.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 3a3688b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
	unsigned long offset;
	int i;
	struct cmdline_mtd_partition *part;
	char *mtd_id = master->name;
	const char *mtd_id = master->name;

	/* parse command line */
	if (!cmdline_parsed)