diff options
| author | Markus Elfring <[email protected]> | 2016-08-19 05:04:54 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-08-24 17:20:45 -0300 |
| commit | fb6609280db902bd5d34445fba1c926e95e63914 (patch) | |
| tree | 13286596c1bbea4a203f63dd2a69a09794b8cd6a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 8eb14e8084b0f39dbf23dcd0c263fc2fac862048 (diff) | |
[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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions