diff options
author | 2008-12-29 13:35:11 +0800 | |
---|---|---|
committer | 2008-12-29 12:22:29 +0100 | |
commit | efdc64f0c792ea744bcc9203f35b908e66d42f41 (patch) | |
tree | 014d9895f776d98bf933855e5af2da99d5b34824 /include | |
parent | Merge branches 'irq/sparseirq', 'irq/genirq' and 'irq/urgent'; commit 'v2.6.28' into irq/core (diff) | |
download | wireguard-linux-efdc64f0c792ea744bcc9203f35b908e66d42f41.tar.xz wireguard-linux-efdc64f0c792ea744bcc9203f35b908e66d42f41.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions