staging: fsl-mc: return -EINVAL for all fsl_mc_portal_allocate() failures
There are some error paths that allow for a NULL new_mc_io and err = 0 return code. Return -EINVAL instead. Signed-off-by: NHoria Geantă <horia.geanta@nxp.com> Signed-off-by: NStuart Yoder <stuart.yoder@nxp.com> Acked-by: NGerman Rivera <german.rivera@nxp.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录