]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: use offset_in_page macro
authorGeliang Tang <geliangtang@163.com>
Sat, 3 Oct 2015 02:34:59 +0000 (10:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 12:11:19 +0000 (13:11 +0100)
commit027ecf8acab3a3788d1d939bace11cedfc4f6927
tree1932e8d216506a5706173c5617bffbc97345ce28
parent35e0e26a97bc3c5ffa5a8b4e9f89f67e5a46217b
IB/hfi1: use offset_in_page macro

Use offset_in_page macro instead of (addr & ~PAGE_MASK).

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/file_ops.c