summaryrefslogtreecommitdiffstats
path: root/kernel/latencytop.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-12-15 12:00:40 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 15:19:16 +0100
commita5c82e5622d1b7f479c9a43873c2c5ac1f67765c (patch)
tree4e16aafa5bc17fd1200bea8bf97bc87a82ba2d7f /kernel/latencytop.c
parent[media] media-device: set topology version 0 at media registration (diff)
downloadlinux-a5c82e5622d1b7f479c9a43873c2c5ac1f67765c.tar.xz
linux-a5c82e5622d1b7f479c9a43873c2c5ac1f67765c.zip
[media] media-device: copy_to/from_user() returns positive
The copy_to/from_user() functions return the number of bytes *not* copied. They don't return error codes. Fixes: 4f6b3f363475 ('media] media-device: add support for MEDIA_IOC_G_TOPOLOGY ioctl') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions