[PATCH] sparse: Add more ignored attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mb@xxxxxxxxx>

---

Index: sparse-dev/parse.c
===================================================================
--- sparse-dev.orig/parse.c	2009-11-26 12:02:13.000000000 +0100
+++ sparse-dev/parse.c	2009-11-26 12:02:18.000000000 +0100
@@ -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",


-- 
Greetings, Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux