aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2026-07-17 12:26:13 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-07-24 19:33:56 +0000
commitfe1784004d6e43b3080ab7b7115ee0ea3ba317f2 (patch)
tree51315b9f0f66c7913bcbf68b9e146f5b0f51dc50
parent2099bf27126f6fef10128c3cd0ea8476c88b28c5 (diff)
LinuxKPI: sg_page() remove superfluous ()
Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D58295
-rw-r--r--sys/compat/linuxkpi/common/include/linux/scatterlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/scatterlist.h b/sys/compat/linuxkpi/common/include/linux/scatterlist.h
index 4ab3de5fb64d..dd8ea31d4872 100644
--- a/sys/compat/linuxkpi/common/include/linux/scatterlist.h
+++ b/sys/compat/linuxkpi/common/include/linux/scatterlist.h
@@ -135,7 +135,7 @@ sg_set_page(struct scatterlist *sg, struct page *page, unsigned int len,
static inline struct page *
sg_page(struct scatterlist *sg)
{
- return ((struct page *)((sg)->page_link & ~SG_PAGE_LINK_MASK));
+ return ((struct page *)(sg->page_link & ~SG_PAGE_LINK_MASK));
}
static inline void