summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVignesh Raghavendra <[email protected]>2024-07-31 20:28:55 +0530
committerTom Rini <[email protected]>2024-08-27 14:27:44 -0600
commit8a5642fa840308875ffff388dd87636f68725883 (patch)
tree4c5a2d6f643dbcb3e2a8b3755ccd80eafec844e8 /include/linux
parentf85dafa9affb280990bdb9ceaa0200a7f534f881 (diff)
mtd: nand: raw: omap_gpmc: Check return value of gpmc_nand_init
If the function is called with no NAND device attached, then this function can return error value, proceeding further ignoring the same can cause system crash. This is seen when "mtd list" is run with no NAND addon cards connected. Signed-off-by: Vignesh Raghavendra <[email protected]> Acked-by: Roger Quadros <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions