- 24 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 21 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 15 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 08 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 02 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 27 Oct, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 21 Oct, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Oct, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 12 Oct, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 08 Oct, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Oct, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 27 Sep, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Sep, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 07 Sep, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 02 Sep, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 30 Aug, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 25 Aug, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 16 Aug, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Aug, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Aug, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 27 Jul, 2017 2 commits
-
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
commit bd664f6b upstream. I made the mistake of upgrading my desktop to the new Fedora 26 that comes with gcc-7.1.1. There's nothing wrong per se that I've noticed, but I now have 1500 lines of warnings, mostly from the new format-truncation warning triggering all over the tree. We use 'snprintf()' and friends in a lot of places, and often know that the numbers are fairly small (ie a controller index or similar), but gcc doesn't know that, and sees an 'int', and thinks that it could be some huge number. And then complains when our buffers are not able to fit the name for the ten millionth controller. These warnings aren't necessarily bad per se, and we probably want to look through them subsystem by subsystem, but at least during the merge window they just mean that I can't even see if somebody is introducing any *real* problems when I pull. So warnings disabled for now. Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 21 Jul, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 15 Jul, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Jul, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Jun, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 26 Jun, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 14 Jun, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 07 Jun, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 25 May, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 20 May, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 15 May, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 08 May, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 30 Apr, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 22 Apr, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Apr, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 08 Feb, 2017 2 commits
-
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
commit 124a3d88 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 > 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 <rostedt@goodmis.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 18 Jan, 2017 1 commit
-
-
Sasha Levin authored
Signed-off-by:
Sasha Levin <alexander.levin@verizon.com>
-