Re: [PATCH v1 1/1] seq_file: Move seq_escape() to a header

From
Andrew Morton <akpm@linux-foundation.org>
Date
2021-10-01 23:39:33
Also in
lkml
Reply to
Andy Shevchenko, 2021-10-01
On Fri,  1 Oct 2021 15:29:17 +0300 Andy Shevchenko [off-list ref] wrote:
Move seq_escape() to the header as inliner.
Some reason for doing this would be nice.  Does it make the kernel
smaller?  Is this performance-sensitive?
quoted hunk ↗ jump to hunk
--- a/include/linux/seq_file.h
+++ b/include/linux/seq_file.h
@@ -4,6 +4,7 @@
 
 #include <linux/types.h>
 #include <linux/string.h>
+#include <linux/string_helpers.h>
Why was this added?
 #include <linux/bug.h>
 #include <linux/mutex.h>
 #include <linux/cpumask.h>
  
Thread (3 messages) 3 messages, 3 authors, last reply 2021-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help