diff options
| author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-23 19:57:52 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 19:44:30 -0700 |
| commit | 11d7e632e3102fec4d81e8f746d4afce65effe2c (patch) | |
| tree | 34b47c68cb205b955ce6c2f78dfda8a881a227d1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 646287ba9faececebeffa998a5b75160ec94e090 (diff) | |
Staging: rtl8723au: Use put_unaligned_le32
Introduce the use of function put_unaligned_le32.
A simplified version of Coccinelle semantic patch used -
@@ identifier tmp; expression ptr; expression y,e; type T; @@
- tmp = cpu_to_le32(y);
<+... when != tmp
- memcpy(ptr, (T)&tmp, ...);
+ put_unaligned_le32(y,ptr);
...+>
? tmp = e
@@ type T; identifier tmp; @@
- T tmp;
...when != tmp
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
