tree 13286596c1bbea4a203f63dd2a69a09794b8cd6a parent 8eb14e8084b0f39dbf23dcd0c263fc2fac862048 author Markus Elfring 1471593894 -0300 committer Mauro Carvalho Chehab 1472070045 -0300 [media] dvb_frontend: Use memdup_user() rather than duplicating its implementation * Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. * Return directly if this copy operation failed. * Replace the specification of data structures by pointer dereferences to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring Signed-off-by: Mauro Carvalho Chehab