kernel: Fix gcc-9.2 warning with _StackCheckHandler
Remove FUNC_NORETURN attribute from _StackCheckHandler to address the following warning from gcc-9.2: kernel/compiler_stack_protect.c:62:32: error: '__stack_chk_fail' specifies less restrictive attribute than its target '_StackCheckHandler': 'noreturn' [-Werror=missing-attributes] Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
4b24027ba0
commit
bc18159676
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
*
|
||||
* @return Does not return
|
||||
*/
|
||||
void FUNC_NORETURN _StackCheckHandler(void)
|
||||
void _StackCheckHandler(void)
|
||||
{
|
||||
/* Stack canary error is a software fatal condition; treat it as such.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue