linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] um: Fix definition typo of ARCH_IRQ_ENABLED
@ 2016-08-16 12:07 Daniel Wagner
  2016-08-16 12:15 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Wagner @ 2016-08-16 12:07 UTC (permalink / raw)
  To: Richard Weinberger; +Cc: linux-kernel, Daniel Wagner

From: Daniel Wagner <daniel.wagner@bmw-carit.de>

3e9389573574 ("um: Use asm-generic/irqflags.h") introduced a typo.

Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
---
Hi Richard,

I just saw that the original patch made into mainline including a fat
typo. I just wonder why the compiler didn't complain or why it just
worked...

cheers,
daniel

arch/um/include/asm/irqflags.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/um/include/asm/irqflags.h b/arch/um/include/asm/irqflags.h
index 3bb221e..2bd602e 100644
--- a/arch/um/include/asm/irqflags.h
+++ b/arch/um/include/asm/irqflags.h
@@ -31,7 +31,7 @@ static inline void arch_local_irq_disable(void)
 }
 
 #define ARCH_IRQ_DISABLED	0
-#define ARCh_IRQ_ENABLED	(SIGIO|SIGVTALRM)
+#define ARCH_IRQ_ENABLED	(SIGIO|SIGVTALRM)
 
 #include <asm-generic/irqflags.h>
 
-- 
2.7.4

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

* Re: [PATCH] um: Fix definition typo of ARCH_IRQ_ENABLED
  2016-08-16 12:07 [PATCH] um: Fix definition typo of ARCH_IRQ_ENABLED Daniel Wagner
@ 2016-08-16 12:15 ` Richard Weinberger
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2016-08-16 12:15 UTC (permalink / raw)
  To: Daniel Wagner; +Cc: linux-kernel, Daniel Wagner

Daniel,

On 16.08.2016 14:07, Daniel Wagner wrote:
> From: Daniel Wagner <daniel.wagner@bmw-carit.de>
> 
> 3e9389573574 ("um: Use asm-generic/irqflags.h") introduced a typo.
> 
> Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
> ---
> Hi Richard,
> 
> I just saw that the original patch made into mainline including a fat
> typo. I just wonder why the compiler didn't complain or why it just
> worked...

Hmm, it seems like ARCH_IRQ_ENABLED is not really used.
Let me dig into that...

Thanks,
//richard

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

end of thread, other threads:[~2016-08-16 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-16 12:07 [PATCH] um: Fix definition typo of ARCH_IRQ_ENABLED Daniel Wagner
2016-08-16 12:15 ` Richard Weinberger

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).