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

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.