Extcon: check for allocation failure
Return -ENOMEM if the kmalloc() fails. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NMyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录