lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTikxb_tJvXoHma7U41TrZKmZr=4u0g@mail.gmail.com>
Date:	Tue, 31 May 2011 10:35:06 +0200
From:	Geert Uytterhoeven <geert@...ux-m68k.org>
To:	"Linux/m68k" <linux-m68k@...ts.linux-m68k.org>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	Linux Kernel Development <linux-kernel@...r.kernel.org>
Subject: Re: m68k: Convert to genirq (WIP)

On Sat, May 28, 2011 at 20:32, Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
> | NR_IRQS:72
> | ------------[ cut here ]------------
> | WARNING: at linux/kernel/irq/chip.c:559 0x2a191a()
> | Modules linked in:
> | Call Trace: [<0002767e>] warn_slowpath_common+0x4c/0x64
> |  [<0004e81c>] irq_set_chip+0x0/0x66
> |  [<000276aa>] warn_slowpath_null+0x14/0x1a
> |  [<0004e728>] __irq_set_handler+0x11c/0x13c
> |  [<0004ec7e>] handle_level_irq+0x0/0x9c
> |  [<00003ef4>] m68k_setup_irq_controller+0x3c/0x50
> |  [<0004ec7e>] handle_level_irq+0x0/0x9c
> |  [<0004e81c>] irq_set_chip+0x0/0x66
> |  [<00027dc8>] printk+0x0/0x1a
> |  [<00322022>] __alloc_bootmem+0x0/0x1a
> |  [<0031dea4>] atari_init_IRQ+0x2a/0xe8
> |  [<0004ec7e>] handle_level_irq+0x0/0x9c
> |  [<0031c450>] init_IRQ+0x28/0x2e
> |  [<00027dc8>] printk+0x0/0x1a
> |  [<0031a012>] start_kernel+0x196/0x3b0
> |  [<0031931e>] _sinittext+0x31e/0x9c0
> |
> | ---[ end trace 139ce121c98e96c9 ]---

whitespace-challenged diff --git a/arch/m68k/kernel/ints.c
b/arch/m68k/kernel/ints.c
index f4804f3..8d8a1e9 100644
--- a/arch/m68k/kernel/ints.c
+++ b/arch/m68k/kernel/ints.c
@@ -285,7 +285,7 @@ void m68k_setup_irq_controller(struct irq_chip *chip,
        for (i = 0; i < cnt; i++) {
                irq_set_chip(irq + i, chip);
                if (handle)
-                       irq_set_handler(i, handle);
+                       irq_set_handler(irq + i, handle);
        }
 }

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ