All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 1dd75f91 authored by's avatar Committed by Thomas Gleixner

genirq: Fix wrong bit operation

(!msk & 0x01) should be !(msk & 0x01)
Signed-off-by: default avatarJonghwan Choi <>
Link: default avatarThomas Gleixner <>
parent 02f8c6ae
......@@ -246,7 +246,7 @@ void irq_setup_generic_chip(struct irq_chip_generic *gc, u32 msk,
gc->mask_cache = irq_reg_readl(gc->reg_base + ct->regs.mask);
for (i = gc->irq_base; msk; msk >>= 1, i++) {
if (!msk & 0x01)
if (!(msk & 0x01))
......@@ -301,7 +301,7 @@ void irq_remove_generic_chip(struct irq_chip_generic *gc, u32 msk,
for (; msk; msk >>= 1, i++) {
if (!msk & 0x01)
if (!(msk & 0x01))
/* Remove handler first. That will mask the irq line */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment