Re: [PATCH 00/20] x86: address -Wmissing-prototype warnings

From
Dave Hansen <hidden>
Date
2023-05-18 17:32:06
Also in
linux-mm, linux-pci, linux-pm, lkml, platform-driver-x86, virtualization, xen-devel
Reply to
Arnd Bergmann, 2023-05-16
On 5/16/23 12:35, Arnd Bergmann wrote:
The ones that are a bit awkward are those that just add a prototype to
shut up the warning, but the prototypes are never used for calling the
function because the only caller is in assembler code. I tried to come up
with other ways to shut up the compiler using the asmlinkage annotation,
but with no success.
I went looking for the same thing.  It's too bad gcc doesn't have an
__attribute__ for it.
Thread (29 messages) 29 messages, 6 authors, last reply 2023-05-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help