diff options
| author | Tomas Winkler <[email protected]> | 2012-08-19 19:36:37 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-09-04 12:48:00 -0700 |
| commit | 07732be2efa7d4ade66d224ea84d2c30740d0b77 (patch) | |
| tree | 4ad5a8451c1fca878b0684ef081f2d3bf8fdc1db /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 01f8a27e3c9109c0187f473e593fa7b45cdb65e8 (diff) | |
staging: ozwpan: fix memcmp() test in oz_set_active_pd()
"addr" is a pointer so it's either 4 or 8 bytes, but actually we want
to compare 6 bytes (ETH_ALEN).
As network stack already provides helper function
is_zero_ether_addr() we use that instead of memcmp
Signed-off-by: Tomas Winkler <[email protected]>
Acked-by: Dan Carpenter <[email protected]>
Acked-by: Rupesh Gujare <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions