public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] security: Use macros from compiler.h instead of gcc specific attributes
@ 2014-06-11 15:55 Gideon Israel Dsouza
  2014-06-11 15:55 ` [PATCH 1/1] security: Used macros from compiler.h instead of __attribute__((...)) Gideon Israel Dsouza
  0 siblings, 1 reply; 6+ messages in thread
From: Gideon Israel Dsouza @ 2014-06-11 15:55 UTC (permalink / raw)
  To: paul, sds, eparis, akpm
  Cc: geert, linux-security-module, linux-kernel, Gideon Israel Dsouza

NOTE: Please ignore the earlier similar emails. I apologize sincerely
for the mistake.

To increase compiler portability there is <linux/compiler.h> which
provides convenience macros for various gcc constructs.  Eg: __weak for
__attribute__((weak)).

I've taken up the job of cleaning these attributes all over the kernel.
Currently my patches for cleanup of all files under /kernel, /block and
/mm are already done and in the linux 3.15 tree.

In the following patch I've replaced all aforementioned instances under
the /security directory in the kernel source.


Gideon Israel Dsouza (1):
  security: Used macros from compiler.h instead of __attribute__((...))

 security/selinux/include/security.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.9.3


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

end of thread, other threads:[~2014-06-26 11:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11 15:55 [PATCH] security: Use macros from compiler.h instead of gcc specific attributes Gideon Israel Dsouza
2014-06-11 15:55 ` [PATCH 1/1] security: Used macros from compiler.h instead of __attribute__((...)) Gideon Israel Dsouza
2014-06-18 18:50   ` Paul Moore
2014-06-18 20:08     ` Geert Uytterhoeven
2014-06-18 20:58       ` Paul Moore
2014-06-26 11:45         ` Gideon D'souza

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