Linux virtualization list
 help / color / mirror / Atom feed
  • [parent not found: <20230516193549.544673-11-arnd@kernel.org>]
  • * Re: [PATCH 00/20] x86: address -Wmissing-prototype warnings
           [not found] <20230516193549.544673-1-arnd@kernel.org>
           [not found] ` <20230516193549.544673-2-arnd@kernel.org>
           [not found] ` <20230516193549.544673-11-arnd@kernel.org>
    @ 2023-05-18 17:31 ` Dave Hansen
      2023-05-18 21:56 ` Dave Hansen
      3 siblings, 0 replies; 7+ messages in thread
    From: Dave Hansen @ 2023-05-18 17:31 UTC (permalink / raw)
      To: Arnd Bergmann, x86
      Cc: Mark Rutland, Rafael J. Wysocki, VMware PV-Drivers Reviewers,
    	linux-pci, Dave Hansen, virtualization, linux-mm, Alexey Makhalov,
    	Thomas Gleixner, H. Peter Anvin, Peter Zijlstra, Ingo Molnar,
    	Darren Hart, linux-trace-kernel, Arnd Bergmann, linux-pm,
    	Steven Rostedt, Borislav Petkov, Andy Lutomirski, xen-devel,
    	Boris Ostrovsky, platform-driver-x86, Juergen Gross, linux-kernel,
    	Masami Hiramatsu, Andy Shevchenko
    
    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.
    _______________________________________________
    Virtualization mailing list
    Virtualization@lists.linux-foundation.org
    https://lists.linuxfoundation.org/mailman/listinfo/virtualization
    
    ^ permalink raw reply	[flat|nested] 7+ messages in thread
  • * Re: [PATCH 00/20] x86: address -Wmissing-prototype warnings
           [not found] <20230516193549.544673-1-arnd@kernel.org>
                       ` (2 preceding siblings ...)
      2023-05-18 17:31 ` [PATCH 00/20] x86: address -Wmissing-prototype warnings Dave Hansen
    @ 2023-05-18 21:56 ` Dave Hansen
      2023-05-19  9:51   ` Andy Shevchenko
      2023-05-19 12:09   ` Arnd Bergmann
      3 siblings, 2 replies; 7+ messages in thread
    From: Dave Hansen @ 2023-05-18 21:56 UTC (permalink / raw)
      To: Arnd Bergmann, x86
      Cc: Mark Rutland, Rafael J. Wysocki, VMware PV-Drivers Reviewers,
    	linux-pci, Dave Hansen, virtualization, linux-mm, Alexey Makhalov,
    	Thomas Gleixner, H. Peter Anvin, Peter Zijlstra, Ingo Molnar,
    	Darren Hart, linux-trace-kernel, Arnd Bergmann, linux-pm,
    	Steven Rostedt, Borislav Petkov, Andy Lutomirski, xen-devel,
    	Boris Ostrovsky, platform-driver-x86, Juergen Gross, linux-kernel,
    	Masami Hiramatsu, Andy Shevchenko
    
    On 5/16/23 12:35, Arnd Bergmann wrote:
    > From: Arnd Bergmann <arnd@arndb.de>
    > 
    > This addresses all x86 specific prototype warnings. The majority of the
    > patches should be straightforward, either adding an #include statement
    > to get the right header, or ensuring that an unused global function is
    > left out of the build when the prototype is hidden.
    > 
    > 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.
    > 
    > All of the warnings have to be addressed in some form before the warning
    > can be enabled by default.
    
    I picked up the ones that were blatantly obvious, but left out 03, 04,
    10, 12 and 19 for the moment.
    
    BTW, I think the i386 allyesconfig is getting pretty lightly tested
    these days.  I think you and I hit the same mlx4 __bad_copy_from()
    compile issue.
    _______________________________________________
    Virtualization mailing list
    Virtualization@lists.linux-foundation.org
    https://lists.linuxfoundation.org/mailman/listinfo/virtualization
    
    ^ permalink raw reply	[flat|nested] 7+ messages in thread

  • end of thread, other threads:[~2023-05-19 12:09 UTC | newest]
    
    Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20230516193549.544673-1-arnd@kernel.org>
         [not found] ` <20230516193549.544673-2-arnd@kernel.org>
    2023-05-16 21:44   ` [PATCH 01/20] x86: move prepare_ftrace_return prototype to header Steven Rostedt
         [not found] ` <20230516193549.544673-11-arnd@kernel.org>
    2023-05-18 17:28   ` [PATCH 10/20] x86: xen: add missing prototypes Dave Hansen
    2023-05-19 11:04     ` Arnd Bergmann
    2023-05-18 17:31 ` [PATCH 00/20] x86: address -Wmissing-prototype warnings Dave Hansen
    2023-05-18 21:56 ` Dave Hansen
    2023-05-19  9:51   ` Andy Shevchenko
    2023-05-19 12:09   ` Arnd Bergmann
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox