summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2023-03-08 09:20:19 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-03-08 14:31:36 +0100
commit8bd1d24e6ca3c599dd455b0e1b22f77bab8290eb (patch)
treea677a591d402147a14feeed8eb7957e2dd6538bf /scripts/gdb/linux/modules.py
parent1cd9ceaa5282ff10ea20a7fbadde5a476a1cc99e (diff)
mtd: core: fix nvmem error reporting
The master MTD will only have an associated device if CONFIG_MTD_PARTITIONED_MASTER is set, thus we cannot use dev_err() on mtd->dev. Instead use the parent device which is the physical flash memory. Fixes: 4b361cfa8624 ("mtd: core: add OTP nvmem provider support") Cc: stable@vger.kernel.org Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230308082021.870459-2-michael@walle.cc
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions