sparse: Add more ignored attributes
PATCH 1/1 sparse: Add more ignored attributes
This adds more ignored gcc-style attributes.
externally_visible is a standard gcc attribute.
signal is an AVR8 attribute used to define interrupt service routines.
Ignore these attributes, as they are currently not useful for sparse checking.
Signed-off-by Michael Buesch <[email protected]>
---
parse.c +4 -0
@@ -505,6 +505,8 @@ const char *ignored_attributes[] = {"__dllexport__" ,"dllimport" ,"__dllimport__" , +"externally_visible" , +"__externally_visible__" ,"fastcall" ,"__fastcall__" , "format",
@@ -537,6 +539,8 @@ const char *ignored_attributes[] = {"__section__" ,"sentinel" ,"__sentinel__" , +"signal" , +"__signal__" ,"stdcall" ,"__stdcall__" , "syscall_linkage",
Signature · 1 line
Greetings, Michael.
Christopher Li
maintainerQuoted 2 lines · Michael Buesch
This adds more ignored gcc-style attributes.
Applied with slightly modified title.
Thanks!
Chris