summaryrefslogtreecommitdiff
path: root/drivers/tc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-12-20 14:31:51 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-01-21 22:00:33 +0300
commit82348201384d4481ab92beecfbca7c195120670e (patch)
treef7a35ffd050e217733d8dbe695438750cae3bace /drivers/tc
parent393947e5823fdfe96bd290e5d6311d5b08d03aa7 (diff)
downloadlinux-82348201384d4481ab92beecfbca7c195120670e.tar.xz
mtd: rawnand: denali_dt: error out if platform has no associated data
denali->ecc_caps is a mandatory parameter. If it were left unset, nand_ecc_choose_conf() would end up with NULL pointer access. So, every compatible must be associated with proper denali_dt_data. If of_device_get_match_data() returns NULL, let it fail immediately. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions