]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipath: use offset_in_page macro
authorGeliang Tang <geliangtang@163.com>
Sat, 3 Oct 2015 02:43:11 +0000 (10:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 12:11:19 +0000 (13:11 +0100)
commite7fe0efc824588a4333f1124af7222c620d678fc
tree48e02c4a55912d74b1691648c6b81c7fe03bddb1
parent027ecf8acab3a3788d1d939bace11cedfc4f6927
IB/ipath: 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/ipath/ipath_user_sdma.c