<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/stringify.h, branch v6.12.68</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v6.12.68</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v6.12.68'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2023-10-18T21:43:21Z</updated>
<entry>
<title>extract and use FILE_LINE macro</title>
<updated>2023-10-18T21:43:21Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2023-09-16T18:21:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5097a69d676f7e562240dbe81c21b1c62aaf5950'/>
<id>urn:sha1:5097a69d676f7e562240dbe81c21b1c62aaf5950</id>
<content type='text'>
Extract nifty FILE_LINE useful for printk style debugging:

	printk("%s\n", FILE_LINE);

It should not be used en mass probably because __FILE__ string literals
can be merged while FILE_LINE's won't. But for debugging it is what
the doctor ordered.

Don't add leading and trailing underscores, they're painful to type. 
Trust me, I've tried both versions.

Link: https://lkml.kernel.org/r/ebf12ac4-5a61-4b12-b8b0-1253eb371332@p183
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Takashi Iwai &lt;tiwai@suse.de&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Make __stringify support variable argument macros too</title>
<updated>2009-04-10T13:48:52Z</updated>
<author>
<name>Zhaolei</name>
<email>zhaolei@cn.fujitsu.com</email>
</author>
<published>2009-04-08T08:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4'/>
<id>urn:sha1:8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4</id>
<content type='text'>
For example:

  __stringify(__entry-&gt;irq, __entry-&gt;ret)

will now convert it to:

  "REC-&gt;irq, REC-&gt;ret"

It also still supports single arguments as the old macro did.

Signed-off-by: Zhao Lei &lt;zhaolei@cn.fujitsu.com&gt;
Acked-by: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
LKML-Reference: &lt;49DC6751.30308@cn.fujitsu.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>[PATCH] UML patch fixup</title>
<updated>2002-08-13T02:34:48Z</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@karaya.com</email>
</author>
<published>2002-08-13T02:34:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a3fa31f1398b49505c465391c42d6f592998212a'/>
<id>urn:sha1:a3fa31f1398b49505c465391c42d6f592998212a</id>
<content type='text'>
When you reverted the stringify changes I sent last time, you missed removing
a comment, which is now grossly wrong.  This patch finishes the job.
</content>
</entry>
<entry>
<title>Undo "stringify()" changes, since they don't work with</title>
<updated>2002-08-03T15:44:56Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@home.transmeta.com</email>
</author>
<published>2002-08-03T15:44:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=35aa61ec011d8712717362550cd0008bcc7d99e8'/>
<id>urn:sha1:35aa61ec011d8712717362550cd0008bcc7d99e8</id>
<content type='text'>
various compilers
</content>
</entry>
<entry>
<title>[PATCH] UML preparation - linkage.h</title>
<updated>2002-08-03T11:22:43Z</updated>
<author>
<name>Jeff Dike</name>
<email>jdike@karaya.com</email>
</author>
<published>2002-08-03T11:22:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7d45b60a9e7522af6c9b51e1f24377f8994688ff'/>
<id>urn:sha1:7d45b60a9e7522af6c9b51e1f24377f8994688ff</id>
<content type='text'>
This a preparatory patch which allows UML to avoid changing linux/linkage.h.

It restructures linkage.h so that all of the arch-specific stuff is in
asm-*/linkage.h.  linux/linkage.h is now arch independent.  It should be
functionally unchanged.

Five arches, i386, ia64, sh, m68k, and arm, have non-empty linkage.h files.
The other arch linkage.h files are all empty.

Also, __ALIGN_STR is no longer defined independently of __ALIGN.  It is now
derived by stringizing __ALIGN.

Following a suggestion by Keith Owens, stringify.h was generalized to allow
commas in its argument, linkage.h now includes it, and no longer defines its
own stringify macros.
</content>
</entry>
<entry>
<title>[PATCH] text.lock -&gt; subsection changes.</title>
<updated>2002-02-08T09:43:23Z</updated>
<author>
<name>Dave Jones</name>
<email>davej@suse.de</email>
</author>
<published>2002-02-08T09:43:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b5635319d32438ed516568f53013a460ba16e6ee'/>
<id>urn:sha1:b5635319d32438ed516568f53013a460ba16e6ee</id>
<content type='text'>
Make spinlocks etc use subsections of their parent sections instead of
an ELF section of their own - needed for newer binutils when the parent
sector is removed. 
</content>
</entry>
</feed>
