diff options
author | Ezequiel Garcia <elezegarcia@gmail.com> | 2013-01-14 13:22:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-05 11:31:36 -0500 |
commit | 8c0d44e250735b09e255ce0483c47eb2f68d3fa7 (patch) | |
tree | f17c238670b5e56b3600c13517e0de4c853348b0 /lib/locking-selftest-mutex.h | |
parent | 5d97046a371a44010bbfd18a75c2b107da30a606 (diff) |
[media] uvcvideo: Replace memcpy with struct assignment
This kind of memcpy() is error-prone. Its replacement with a struct
assignment is prefered because it's type-safe and much easier to read.
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/locking-selftest-mutex.h')
0 files changed, 0 insertions, 0 deletions