sony-laptop: handle allocation failures
Return -ENOMEM if kzalloc() fails. The callers already handle error returns. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Showing
想要评论请 注册 或 登录