[PATCH V2] tplink-safeloader: Patch to handle partitions with alternate names.

Rafał Miłecki zajec5 at gmail.com
Thu May 5 07:11:41 PDT 2022


On 5.05.2022 10:31, Ole Kristian Lona via openwrt-devel wrote:
 > +/** Flash partition names table entry */
 > +struct factory_partition_names {
 > +	char *partition_table;
 > +	char *soft_ver;
 > +	char *os_image;
 > +	char *file_system;
 > +	char *extra_para;
 > +};

Use "const char *" for each.

You'll also need to adjust "struct flash_partition_entry" (add const
there too).



More information about the openwrt-devel mailing list