kernel-hacking-2024-linux-s.../kernel/irq
Wang Chen efdc64f0c7 genirq: check chip->ack before calling
Impact: fix theoretical NULL dereference

The generic irq layer doesn't know whether irq_chip has ack routine on some
architectures or not. Upon that, before calling chip->ack, we should check
that it's not NULL.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-29 12:22:29 +01:00
..
autoprobe.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
chip.c genirq: check chip->ack before calling 2008-12-29 12:22:29 +01:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c locking, irq: enclose irq_desc_lock_class in CONFIG_LOCKDEP 2008-12-18 14:35:53 +01:00
internals.h x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
Makefile x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
manage.c genirq: record IRQ_LEVEL in irq_desc[] 2008-12-02 11:20:46 +01:00
migration.c genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
numa_migrate.c sparseirq: fix numa_migrate_irq_desc dependency and comments 2008-12-19 22:56:02 +01:00
proc.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00