xprtrdma: removed asm-generic headers from verbs.c
Subsystems (4)
PATCH v2 1/1 xprtrdma: removed asm-generic headers from verbs.c
asm-generic/barrier.h and asm/bitops.h are already brought into the file through the header linux/sunrpc/svc_rdma.h and the file can still be built with their removal. They have been replaced with the preferred linux/bitops.h and asm/barrier.h to remove the need for the asm-generic header.
---
Changes in v2:
- Added asm/barrier.h and linux/bitops.h to not conflict with rule 1 of submit-checklist
- Link to v1: https://lore.kernel.org/r/[email protected]
--- net/sunrpc/xprtrdma/verbs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/sunrpc/xprtrdma/verbs.c +2 -2
@@ -49,14 +49,14 @@* o buffer memory */ +#include <linux/bitops.h> #include <linux/interrupt.h> #include <linux/slab.h> #include <linux/sunrpc/addr.h> #include <linux/sunrpc/svc_rdma.h> #include <linux/log2.h> -#include <asm-generic/barrier.h> -#include <asm/bitops.h> +#include <asm/barrier.h> #include <rdma/ib_cm.h>
---
base-commit: fbafc3e621c3f4ded43720fdb1d6ce1728ec664e
change-id: 20231226-verbs-30800631d3f1
Best regards,
Signature · 1 line
Tanzir Hasan <[email protected]>
Quoted 8 lines · Tanzir Hasan
asm-generic/barrier.handasm/bitops.hare already brought into the file through the headerlinux/sunrpc/svc_rdma.hand the file can still be built with their removal. They have been replaced with the preferredlinux/bitops.handasm/barrier.hto remove the need for the asm-generic header.Suggested-by Al Viro <[email protected]>Signed-off-by Tanzir Hasan <[email protected]>
Quoted 39 lines
---
Changes in v2:
- Addedasm/barrier.handlinux/bitops.hto not conflict with rule 1 of submit-checklist
- Link to v1: https://lore.kernel.org/r/[email protected]--- net/sunrpc/xprtrdma/verbs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)net/sunrpc/xprtrdma/verbs.c +2
-3@@ -49,14 +49,14 @@* o buffer memory */ +#include <linux/bitops.h> #include <linux/interrupt.h> #include <linux/slab.h> #include <linux/sunrpc/addr.h> #include <linux/sunrpc/svc_rdma.h> #include <linux/log2.h> -#include <asm-generic/barrier.h> -#include <asm/bitops.h> +#include <asm/barrier.h> #include <rdma/ib_cm.h> ---base-commit:
fbafc3e621c3f4ded43720fdb1d6ce1728ec664e
change-id: 20231226-verbs-30800631d3f1Best regards,
Signature · 1 line
Tanzir Hasan <[email protected]>
Signature · 1 line
Chuck Lever