[media] usbtv: correctly handling failed allocation
Since kzalloc can be failed, if not properly handled, NULL dereference could be happened. Signed-off-by: NInsu Yun <wuninsu@gmail.com> Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
Showing
想要评论请 注册 或 登录