lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <245a1e0d-197b-4ee0-985d-5c91a90e2a65@app.fastmail.com>
Date:   Thu, 06 Jul 2023 11:30:15 +0200
From:   "Arnd Bergmann" <arnd@...db.de>
To:     "Linus Torvalds" <torvalds@...ux-foundation.org>
Cc:     Linux-Arch <linux-arch@...r.kernel.org>,
        linux-kernel@...r.kernel.org,
        "Linus Walleij" <linus.walleij@...aro.org>,
        "Sohil Mehta" <sohil.mehta@...el.com>,
        "Tiezhu Yang" <yangtiezhu@...ngson.cn>
Subject: Re: [GIT PULL] asm-generic updates for 6.5

On Thu, Jul 6, 2023, at 10:20, Arnd Bergmann wrote:
>  - A cleanup for virt_to_pfn/virt_to_bus to have proper type
>    checking, forcing the use of pointers

Sorry, I meant to mention a conflict against f5f82cd18732
("Move netfs_extract_iter_to_sg() to lib/scatterlist.c"), which
Stephen fixed up in linux-next as below.

    Arnd

From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Fri, 9 Jun 2023 10:35:56 +1000
Subject: [PATCH] fix up for "Move netfs_extract_iter_to_sg() to lib/scatterlist.c"

interacting with "netfs: Pass a pointer to virt_to_page()"

Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
 lib/scatterlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/scatterlist.c b/lib/scatterlist.c
index e97d7060329e..e86231a44c3d 100644
--- a/lib/scatterlist.c
+++ b/lib/scatterlist.c
@@ -1237,7 +1237,7 @@ static ssize_t extract_kvec_to_sg(struct iov_iter *iter,
 			if (is_vmalloc_or_module_addr((void *)kaddr))
 				page = vmalloc_to_page((void *)kaddr);
 			else
-				page = virt_to_page(kaddr);
+				page = virt_to_page((void *)kaddr);
 
 			sg_set_page(sg, page, len, off);
 			sgtable->nents++;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ