Thread (20 messages) 20 messages, 5 authors, 2024-06-23

Re: [PATCH v3 06/11] mm/util: Deduplicate code in {kstrdup,kstrndup,kmemdup_nul}

From: Matthew Wilcox <willy@infradead.org>
Date: 2024-06-21 13:57:15
Also in: bpf, dri-devel, linux-fsdevel, linux-mm, linux-security-module, netdev, selinux

On Fri, Jun 21, 2024 at 10:29:54AM +0800, Yafang Shao wrote:
quoted hunk ↗ jump to hunk
+++ b/mm/internal.h
Why are you putting __kstrndup in a header file when it's only used
in util.c?

Also, I think this function is actually __kmemdup_nul(), not
__kstrndup().
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help