Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'mtd/fixes-for-5.0-rc8' of git://git.infradead.org/linux-mtd

Pull MTD fixes from Boris Brezillon:

- Don't add a digit to MTD-backed nvmem device names

- Make sure powernv flash names are unique

* tag 'mtd/fixes-for-5.0-rc8' of git://git.infradead.org/linux-mtd:
mtd: powernv_flash: Fix device registration error
mtd: Use mtd->name when registering nvmem device

+2 -1
+1 -1
drivers/mtd/devices/powernv_flash.c
··· 212 212 * Going to have to check what details I need to set and how to 213 213 * get them 214 214 */ 215 - mtd->name = devm_kasprintf(dev, GFP_KERNEL, "%pOFn", dev->of_node); 215 + mtd->name = devm_kasprintf(dev, GFP_KERNEL, "%pOFP", dev->of_node); 216 216 mtd->type = MTD_NORFLASH; 217 217 mtd->flags = MTD_WRITEABLE; 218 218 mtd->size = size;
+1
drivers/mtd/mtdcore.c
··· 507 507 { 508 508 struct nvmem_config config = {}; 509 509 510 + config.id = -1; 510 511 config.dev = &mtd->dev; 511 512 config.name = mtd->name; 512 513 config.owner = THIS_MODULE;