Skip to content
Commit 718ea836 authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] Fix error checking after get_mtd_device() in get_sb_mtd functions



It returns ERR_PTR(foo) on error, not just NULL.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent ea55d307
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment