linux/drivers/staging/rdma
Amitoj Kaur Chawla 437b29d115 staging: rdma: hfi1: file_ops: Replace ALIGN with PAGE_ALIGN
mm.h contains a helper function PAGE_ALIGN which aligns the pointer
to the page boundary instead of using ALIGN(expression, PAGE_SIZE)

This change was made with the help of the following Coccinelle
semantic patch:
//<smpl>
@@
expression e;
symbol PAGE_SIZE;
@@
(
- ALIGN(e, PAGE_SIZE)
+ PAGE_ALIGN(e)
|
- IS_ALIGNED(e, PAGE_SIZE)
+ PAGE_ALIGNED(e)
)
//</smpl>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
hfi1 staging: rdma: hfi1: file_ops: Replace ALIGN with PAGE_ALIGN 2016-03-11 22:09:09 -08:00
Kconfig staging/rdma: remove deprecated ipath driver 2016-02-03 11:10:58 -05:00
Makefile staging/rdma: remove deprecated ipath driver 2016-02-03 11:10:58 -05:00