mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 21:16:39 +07:00
[media] cx231xx: silence uninitialized variable warning
We print an uninitialized "actlen" variable on the error path. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
079dda54fe
commit
20e01b264c
@ -752,7 +752,8 @@ EXPORT_SYMBOL_GPL(cx231xx_set_mode);
|
||||
int cx231xx_ep5_bulkout(struct cx231xx *dev, u8 *firmware, u16 size)
|
||||
{
|
||||
int errCode = 0;
|
||||
int actlen, ret = -ENOMEM;
|
||||
int actlen = -1;
|
||||
int ret = -ENOMEM;
|
||||
u32 *buffer;
|
||||
|
||||
buffer = kzalloc(4096, GFP_KERNEL);
|
||||
|
Loading…
Reference in New Issue
Block a user