lkml.org 
[lkml]   [2023]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 00/20] x86: address -Wmissing-prototype warnings
    From
    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.

    \
     
     \ /
      Last update: 2023-05-18 19:32    [W:4.042 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site