From: Wang Chen Date: Mon, 29 Dec 2008 05:35:11 +0000 (+0800) Subject: genirq: check chip->ack before calling X-Git-Tag: v2.6.30-rc1~3^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efdc64f0c792ea744bcc9203f35b908e66d42f41;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed