diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2017-07-03 19:13:34 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-16 08:41:01 +0200 |
| commit | f47d8b11eeaf32fa124cf006ef9f4ef6d63c9d50 (patch) | |
| tree | 185a61f570516520d9757db56a6881334756a6a6 /tools/perf/scripts/python/bin | |
| parent | 2fcd74b7c2a60bcbcdb84fce92fed2f83b247a61 (diff) | |
staging: comedi: Use offset_in_page macro
Use offset_in_page macro instead of (var & ~PAGE_MASK)
The Coccinelle semantic patch used to make this change is as follows:
// <smpl>
@@
unsigned long p;
@@
- p & ~PAGE_MASK
+ offset_in_page(p)
// </smpl>
Signed-off-by: Amitoj Kaur Chawla <[email protected]>
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions