<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<blockquote type="cite"
cite="mid:a06a0dc8-c717-da4c-c5ad-eaf56bbbd896@kaod.org">
<pre class="moz-quote-pre" wrap="">
I think this is the case also for entry_flush. compiling with W=1 will tell you more.</pre>
</blockquote>
<p>When I use these commands:<br>
</p>
<pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12.25px; margin-top: 0px; margin-bottom: 1rem; overflow: auto; display: block; color: rgb(35, 40, 44); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">make allmodconfig ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu-
make C=2 arch/powerpc/kernel/setup_64.o ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu-
</pre>
<p>I find warnings as followings:<br>
</p>
<p>arch/powerpc/kernel/setup_64.c:422:6: warning: symbol
'panic_smp_self_stop' was not declared. Should it be static?<br>
arch/powerpc/kernel/setup_64.c:951:6: warning: symbol 'rfi_flush'
was not declared. Should it be static?<br>
arch/powerpc/kernel/setup_64.c:952:6: warning: symbol
'entry_flush' was not declared. Should it be static?<br>
arch/powerpc/kernel/setup_64.c:953:6: warning: symbol
'uaccess_flush' was not declared. Should it be static?</p>
<p>When I use the command "make W=1 arch/powerpc/kernel/setup_64.o
ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu-", warning becomes
this:</p>
<p>arch/powerpc/kernel/setup_64.c:422:6: warning: no previous
prototype for ‘panic_smp_self_stop’ [-Wmissing-prototypes]<br>
void panic_smp_self_stop(void)<br>
^~~~~~~~~~~~~~~~~~~<br>
</p>
<p>My sparse tool is the latest one with the version "v0.6.3". So,
should I fix all the warnings reported by sparse?<br>
</p>
<p><br>
</p>
<p>Thanks.<br>
</p>
<pre class="moz-quote-pre" wrap="">
</pre>
</body>
</html>