All of lore.kernel.org
 help / color / mirror / Atom feed
* [kees:kspp/cfi/x86 10/69] kernel/trace/fgraph.c:330:6: sparse: sparse: symbol 'ftrace_graph_return_stub' was not declared. Should it be static?
@ 2019-11-12  4:15 kbuild test robot
  2019-11-12  4:15 ` [RFC PATCH kees] ftrace: ftrace_graph_return_stub() can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-11-12  4:15 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git kspp/cfi/x86
head:   3baeecfdeffc3ae699b0282859a8098b376b8f05
commit: 561ab42f3378fadd7d8a1656a631605785e7dc1e [10/69] ftrace: fix function type mismatches
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-29-g781bc5d-dirty
        git checkout 561ab42f3378fadd7d8a1656a631605785e7dc1e
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> kernel/trace/fgraph.c:330:6: sparse: sparse: symbol 'ftrace_graph_return_stub' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH kees] ftrace: ftrace_graph_return_stub() can be static
  2019-11-12  4:15 [kees:kspp/cfi/x86 10/69] kernel/trace/fgraph.c:330:6: sparse: sparse: symbol 'ftrace_graph_return_stub' was not declared. Should it be static? kbuild test robot
@ 2019-11-12  4:15 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-11-12  4:15 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]


Fixes: 561ab42f3378 ("ftrace: fix function type mismatches")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 fgraph.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/trace/fgraph.c b/kernel/trace/fgraph.c
index ecfd4a4a106a2..8c3f66732da35 100644
--- a/kernel/trace/fgraph.c
+++ b/kernel/trace/fgraph.c
@@ -327,7 +327,7 @@ void ftrace_graph_sleep_time_control(bool enable)
 	fgraph_sleep_time = enable;
 }
 
-void ftrace_graph_return_stub(struct ftrace_graph_ret *trace)
+static void ftrace_graph_return_stub(struct ftrace_graph_ret *trace)
 {
 }
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-12  4:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12  4:15 [kees:kspp/cfi/x86 10/69] kernel/trace/fgraph.c:330:6: sparse: sparse: symbol 'ftrace_graph_return_stub' was not declared. Should it be static? kbuild test robot
2019-11-12  4:15 ` [RFC PATCH kees] ftrace: ftrace_graph_return_stub() can be static kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.