staging: mt29f: fix unchecked malloc()
The pointer is unconditionally dereferenced a few lines later, we need to make sure it isn't NULL. Signed-off-by: NManuel Pégourié-Gonnard <mpg@elzevir.fr> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录