diff options
author | Peter Foley <pefoley2@pefoley.com> | 2016-11-27 01:22:29 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-11-28 09:47:22 +0300 |
commit | adee8705d2517f0e163ffc45e8d7f9e97a58f1f6 (patch) | |
tree | d5a1bae0aa7490d54a8e07d54a0856f3c35f5475 /Kbuild | |
parent | 20ab6677716c7bbdcfd1cdb9aef296a0b3101f73 (diff) | |
download | linux-adee8705d2517f0e163ffc45e8d7f9e97a58f1f6.tar.xz |
x86/build: Annotate die() with noreturn to fix build warning on clang
Fixes below warning with clang:
In file included from ../arch/x86/tools/relocs_64.c:17:
../arch/x86/tools/relocs.c:977:6: warning: variable 'do_reloc' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161126222229.673-1-pefoley2@pefoley.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions