linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Compiler Attributes for v5.0-rc7
@ 2019-02-15 19:10 Miguel Ojeda
  2019-02-17  1:50 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Ojeda @ 2019-02-15 19:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Miguel Ojeda, Laura Abbott, Arnd Bergmann,
	Martin Sebor, Herbert Xu, Ard Biesheuvel, Krzysztof Kozlowski,
	Catalin Marinas, Nick Desaulniers, Luc Van Oostenryck,
	Andrey Konovalov, Kees Cook, Sean Christopherson, Jessica Yu,
	Masahiro Yamada, James Morris, Mathieu Desnoyers,
	Borislav Petkov, Matt Mullins, Vincent Whitchurch, WANG Chao

Hi Linus,

Please pull these changes to clean up the new GCC 9 warnings coming from
-Wmissing-attributes. With this, we can avoid disabling them.

The patches have been for quite in -next in several forms/shapes during
the iterations we did.

Cheers,
Miguel

The following changes since commit 8834f5600cf3c8db365e18a3d5cac2c2780c81e5:

  Linux 5.0-rc5 (2019-02-03 13:48:04 -0800)

are available in the Git repository at:

  https://github.com/ojeda/linux.git tags/compiler-attributes-for-linus-v5.0-rc7

for you to fetch changes up to a6e60d84989fa0e91db7f236eda40453b0e44afa:

  include/linux/module.h: copy __init/__exit attrs to init/cleanup_module (2019-02-15 19:52:56 +0100)

----------------------------------------------------------------
Compiler Attributes: Clean the new GCC 9 -Wmissing-attributes warnings

The upcoming GCC 9 release extends the -Wmissing-attributes warnings
(enabled by -Wall) to C and aliases: it warns when particular function
attributes are missing in the aliases but not in their target, e.g.:

    void __cold f(void) {}
    void __alias("f") g(void);

diagnoses:

    warning: 'g' specifies less restrictive attribute than
    its target 'f': 'cold' [-Wmissing-attributes]

These patch series clean these new warnings. Most of them are caused
by the module_init/exit macros.

Link: https://lore.kernel.org/lkml/20190125104353.2791-1-labbott@redhat.com/

----------------------------------------------------------------
Miguel Ojeda (3):
      lib/crc32.c: mark crc32_le_base/__crc32c_le_base aliases as __pure
      Compiler Attributes: add support for __copy (gcc >= 9)
      include/linux/module.h: copy __init/__exit attrs to init/cleanup_module

 include/linux/compiler_attributes.h | 14 ++++++++++++++
 include/linux/module.h              |  4 ++--
 lib/crc32.c                         |  4 ++--
 3 files changed, 18 insertions(+), 4 deletions(-)

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

* Re: [GIT PULL] Compiler Attributes for v5.0-rc7
  2019-02-15 19:10 [GIT PULL] Compiler Attributes for v5.0-rc7 Miguel Ojeda
@ 2019-02-17  1:50 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2019-02-17  1:50 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: Linus Torvalds, linux-kernel, Miguel Ojeda, Laura Abbott,
	Arnd Bergmann, Martin Sebor, Herbert Xu, Ard Biesheuvel,
	Krzysztof Kozlowski, Catalin Marinas, Nick Desaulniers,
	Luc Van Oostenryck, Andrey Konovalov, Kees Cook,
	Sean Christopherson, Jessica Yu, Masahiro Yamada, James Morris,
	Mathieu Desnoyers, Borislav Petkov, Matt Mullins,
	Vincent Whitchurch, WANG Chao

The pull request you sent on Fri, 15 Feb 2019 20:10:59 +0100:

> https://github.com/ojeda/linux.git tags/compiler-attributes-for-linus-v5.0-rc7

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0b999ae3614d09d97a1575936bcee884f912b10e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

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

end of thread, other threads:[~2019-02-17  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 19:10 [GIT PULL] Compiler Attributes for v5.0-rc7 Miguel Ojeda
2019-02-17  1:50 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).