diff options
| author | Kees Cook <[email protected]> | 2017-07-12 14:36:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-07-12 16:26:03 -0700 |
| commit | 579e14524c6593cb651a806a6563e14b263c00e2 (patch) | |
| tree | 3cf7b301013614ccabf8458ba78ca7011bb23ce5 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
| parent | 6974f0c4555e285ab217cee58b6e874f776ff409 (diff) | |
sh: mark end of BUG() implementation as unreachable
When building the sh architecture, the compiler doesn't realize that
BUG() doesn't return, so it will complain about functions using BUG()
that are marked with the noreturn attribute:
lib/string.c: In function 'fortify_panic':
>> lib/string.c:986:1: warning: 'noreturn' function does return
}
^
Link: http://lkml.kernel.org/r/20170627192050.GA66784@beast
Signed-off-by: Kees Cook <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: Daniel Micay <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions