public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] um: Fix a build error
@ 2015-06-15 14:43 Firo Yang
  2015-06-15 14:49 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: Firo Yang @ 2015-06-15 14:43 UTC (permalink / raw)
  To: kernel-janitors

Gcc5 failed to build uml.
Update codes to test __GNUC__ with 5 will be happier.

Signed-off-by: Firo Yang <firogm@gmail.com>
---
 arch/um/include/shared/init.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/um/include/shared/init.h b/arch/um/include/shared/init.h
index b3906f8..3af7098 100644
--- a/arch/um/include/shared/init.h
+++ b/arch/um/include/shared/init.h
@@ -54,7 +54,7 @@ typedef void (*exitcall_t)(void);
 #endif
 
 #else
-#if __GNUC__ = 4
+#if __GNUC__ = 4 || __GNUC__ = 5
 # define __used			__attribute__((__used__))
 #endif
 #endif
-- 
2.4.3


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

* Re: [PATCH] um: Fix a build error
  2015-06-15 14:43 [PATCH] um: Fix a build error Firo Yang
@ 2015-06-15 14:49 ` Richard Weinberger
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2015-06-15 14:49 UTC (permalink / raw)
  To: kernel-janitors

Am 15.06.2015 um 16:43 schrieb Firo Yang:
> Gcc5 failed to build uml.
> Update codes to test __GNUC__ with 5 will be happier.
> 
> Signed-off-by: Firo Yang <firogm@gmail.com>

The issue got already addressed by patches:
[PATCH 2/5] um: Stop abusing __KERNEL__
[PATCH 3/5] um: Remove copy&paste code from init.h

They will appear soon in Linus' tree.

Thanks,
//richard

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

end of thread, other threads:[~2015-06-15 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-15 14:43 [PATCH] um: Fix a build error Firo Yang
2015-06-15 14:49 ` Richard Weinberger

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