diff options
| author | Vaishali Thakkar <[email protected]> | 2015-06-19 23:58:17 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-07-22 13:32:21 -0300 |
| commit | 4dc102b2f53d63207fa12a6ad49c7b6448bc3301 (patch) | |
| tree | cd068d7573d7e0b0948ea996f0dbb35c7de40bc0 /tools/perf/scripts/python | |
| parent | a4c4f95eb64640ec31cf0661b1a863151c744827 (diff) | |
[media] dvb_core: Replace memset with eth_zero_addr
Use eth_zero_addr to assign the zero address to the given address
array instead of memset when second argument is address of zero.
The Coccinelle semantic patch that makes this change is as follows:
// <smpl>
@eth_zero_addr@
expression e;
@@
-memset(e,0x00,ETH_ALEN);
+eth_zero_addr(e);
// </smpl>
Signed-off-by: Vaishali Thakkar <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions