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

Commit f6a673b3 authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] Fix printk format error in gen_probe.c

parent fd0e5187
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -39,7 +39,7 @@ struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp)


	if (mtd) {
	if (mtd) {
		if (mtd->size > map->size) {
		if (mtd->size > map->size) {
			printk(KERN_WARNING "Reducing visibility of %lKiB chip to %lKiB\n",
			printk(KERN_WARNING "Reducing visibility of %ldKiB chip to %ldKiB\n",
			       (unsigned long)mtd->size >> 10, 
			       (unsigned long)mtd->size >> 10, 
			       (unsigned long)map->size >> 10);
			       (unsigned long)map->size >> 10);
			mtd->size = map->size;
			mtd->size = map->size;