summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter2010-05-04 14:31:13 +0200
committerMauro Carvalho Chehab2010-05-19 17:59:05 +0200
commita18e659170b9c551749e1c8cb5a969ea8d73e378 (patch)
treeac35097a920ca9026c183be87d525a3e60d4a0f9 /net
parentV4L/DVB: media/az6027: doing dma on the stack (diff)
downloadkernel-qcow2-linux-a18e659170b9c551749e1c8cb5a969ea8d73e378.tar.gz
kernel-qcow2-linux-a18e659170b9c551749e1c8cb5a969ea8d73e378.tar.xz
kernel-qcow2-linux-a18e659170b9c551749e1c8cb5a969ea8d73e378.zip
V4L/DVB: media/az6027: handle -EIO failure
If the az6027_usb_in_op() returns a negative errno ret is -EIO and in that case the value of b[0] may be undefined. The original code assigned 0 to ret, but since it's already 0 now we can skip that. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions