aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-20 19:08:02 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-20 14:54:05 -0800
commit72a5f6a8df46fe61eb64be8e76e244e9d15b8a0e (patch)
treef8ae8014378aaa7598d95bbe8474bf84136e3a92 /include/linux/debugobjects.h
parentstaging: rdma: hfi1: Use DIV_ROUND_UP (diff)
staging: rdma: hfi1: 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 <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions