Patch "xtensa: stacktrace: include <asm/ftrace.h> for prototype" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    xtensa: stacktrace: include <asm/ftrace.h> for prototype

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     xtensa-stacktrace-include-asm-ftrace.h-for-prototype.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit ab5d6887e43f48dbbbbed7f2270595af4435a879
Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Date:   Tue Sep 19 22:21:30 2023 -0700

    xtensa: stacktrace: include <asm/ftrace.h> for prototype
    
    [ Upstream commit 1b6ceeb99ee05eb2c62a9e5512623e63cf8490ba ]
    
    Use <asm/ftrace.h> to prevent a build warning:
    
    arch/xtensa/kernel/stacktrace.c:263:15: warning: no previous prototype for 'return_address' [-Wmissing-prototypes]
      263 | unsigned long return_address(unsigned level)
    
    Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Cc: Chris Zankel <chris@xxxxxxxxxx>
    Cc: Max Filippov <jcmvbkbc@xxxxxxxxx>
    Message-Id: <20230920052139.10570-8-rdunlap@xxxxxxxxxxxxx>
    Signed-off-by: Max Filippov <jcmvbkbc@xxxxxxxxx>
    Stable-dep-of: 0e60f0b75884 ("xtensa: fix MAKE_PC_FROM_RA second argument")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/xtensa/kernel/stacktrace.c b/arch/xtensa/kernel/stacktrace.c
index 7f7755cd28f07..dcba743305efe 100644
--- a/arch/xtensa/kernel/stacktrace.c
+++ b/arch/xtensa/kernel/stacktrace.c
@@ -12,6 +12,7 @@
 #include <linux/sched.h>
 #include <linux/stacktrace.h>
 
+#include <asm/ftrace.h>
 #include <asm/stacktrace.h>
 #include <asm/traps.h>
 #include <linux/uaccess.h>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux