Tag: 72a5f6a8df46fe61eb64be8e76e244e9d15b8a0e

staging: rdma: hfi1: Use offset_in_page macro

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Use offset_in_page macro instead of (var & ~PAGE_MASK) The Coccinelle semantic patch used to make this change is as follows: // @@ unsigned long p; @@ – p & ~PAGE_MASK + offset_in_page(p) // Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Greg Kroah-Hartman — drivers/staging/rdma/hfi1/user_sdma.c | 4 ++– 1 file changed, 2 insertions(+), …

Continue reading