<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/Makefile, branch v3.16.50</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.16.50</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.16.50'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2017-11-11T13:34:06Z</updated>
<entry>
<title>Linux 3.16.50</title>
<updated>2017-11-11T13:34:06Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-11-11T13:34:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2447a018c3226c811528bb70024c6ffd83342a70'/>
<id>urn:sha1:2447a018c3226c811528bb70024c6ffd83342a70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable "frame-address" warning</title>
<updated>2017-11-11T13:33:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2017-05-05T19:46:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=987b13a4f0a5f92909ec2eeba885e5abe67abef8'/>
<id>urn:sha1:987b13a4f0a5f92909ec2eeba885e5abe67abef8</id>
<content type='text'>
commit 124a3d88fa20e1869fc229d7d8c740cc81944264 upstream.

Newer versions of gcc warn about the use of __builtin_return_address()
with a non-zero argument when "-Wall" is specified:

  kernel/trace/trace_irqsoff.c: In function ‘stop_critical_timings’:
  kernel/trace/trace_irqsoff.c:433:86: warning: calling ‘__builtin_return_address’ with a nonzero argument is unsafe [-Wframe-address]
     stop_critical_timing(CALLER_ADDR0, CALLER_ADDR1);
  [ .. repeats a few times for other similar cases .. ]

It is true that a non-zero argument is somewhat dangerous, and we do not
actually have very many uses of that in the kernel - but the ftrace code
does use it, and as Stephen Rostedt says:

 "We are well aware of the danger of using __builtin_return_address() of
  &gt; 0.  In fact that's part of the reason for having the "thunk" code in
  x86 (See arch/x86/entry/thunk_{64,32}.S).  [..] it adds extra frames
  when tracking irqs off sections, to prevent __builtin_return_address()
  from accessing bad areas.  In fact the thunk_32.S states: 'Trampoline to
  trace irqs off.  (otherwise CALLER_ADDR1 might crash)'."

For now, __builtin_return_address() with a non-zero argument is the best
we can do, and the warning is not helpful and can end up making people
miss other warnings for real problems.

So disable the frame-address warning on compilers that need it.

Acked-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>Linux 3.16.49</title>
<updated>2017-10-12T14:28:25Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-10-12T14:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e6a2ab837b00f1f0ccbc920537ca9fb653591dfd'/>
<id>urn:sha1:e6a2ab837b00f1f0ccbc920537ca9fb653591dfd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.16.48</title>
<updated>2017-09-15T17:30:20Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-09-15T17:30:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3717265153a66c2ecbd745ea8eef213289b4a55e'/>
<id>urn:sha1:3717265153a66c2ecbd745ea8eef213289b4a55e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.16.47</title>
<updated>2017-08-26T01:14:52Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-08-26T01:14:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f4a99fcbf29f6c44956d1b4c046116bfdcaf308b'/>
<id>urn:sha1:f4a99fcbf29f6c44956d1b4c046116bfdcaf308b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.16.46</title>
<updated>2017-07-18T17:40:42Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-07-18T17:40:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2b57bae6d1e78514ad19554354e22f69e3c51e1a'/>
<id>urn:sha1:2b57bae6d1e78514ad19554354e22f69e3c51e1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.16.45</title>
<updated>2017-07-02T16:13:04Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-07-02T16:13:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f386a1595aebe23536582c26d32b0cb409dd32ff'/>
<id>urn:sha1:f386a1595aebe23536582c26d32b0cb409dd32ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.16.44</title>
<updated>2017-06-05T20:17:26Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-06-05T20:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=fa6e20ce66acf0a63e139059041c9ef8da2bfab4'/>
<id>urn:sha1:fa6e20ce66acf0a63e139059041c9ef8da2bfab4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.16.43</title>
<updated>2017-04-04T21:21:58Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-04-04T21:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=760b5f93bd0b5c735ae53b29a2d63d98c34f4050'/>
<id>urn:sha1:760b5f93bd0b5c735ae53b29a2d63d98c34f4050</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.16.42</title>
<updated>2017-03-16T02:27:28Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2017-03-16T02:27:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=65be6fa1da9eb665ae50b2d52bc450e64cbc4ec0'/>
<id>urn:sha1:65be6fa1da9eb665ae50b2d52bc450e64cbc4ec0</id>
<content type='text'>
</content>
</entry>
</feed>
