Date: Fri, 24 Jul 2026 19:35:00 +0000 From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: fe1784004d6e - main - LinuxKPI: sg_page() remove superfluous () Message-ID: <6a63be64.25e8b.2ee6cc94@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=fe1784004d6e43b3080ab7b7115ee0ea3ba317f2 commit fe1784004d6e43b3080ab7b7115ee0ea3ba317f2 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2026-07-17 12:26:13 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-07-24 19:33:56 +0000 LinuxKPI: sg_page() remove superfluous () Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D58295 --- sys/compat/linuxkpi/common/include/linux/scatterlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 voidhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a63be64.25e8b.2ee6cc94>
