diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2015-10-12 22:15:30 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-10-14 10:37:47 +0300 |
commit | e59a8451be1162d5a10a33e40092f1796cb8fdca (patch) | |
tree | 4ded8d04e8e213d338680b29bc0eb9f79a6371d1 /drivers/iio/frequency | |
parent | e7a46c818564329f977f8fa157b5e9e1d0d83012 (diff) | |
download | linux-e59a8451be1162d5a10a33e40092f1796cb8fdca.tar.xz |
irqchip/mxs: Panic if ioremap or domain creation fails
Current code will only warn and then dereference the NULL pointer or
continue, which results in a fatal NULL pointer dereference later.
If the initialization fails, the machine is unusable, so panic right
away.
[ tglx: Massaged changelog and picked the irqdomain panic from the
next patch]
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Tested-by: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: marc.zyngier@arm.com
Cc: jason@lakedaemon.net
Link: http://lkml.kernel.org/r/1444677334-12242-2-git-send-email-linux@rempel-privat.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/iio/frequency')
0 files changed, 0 insertions, 0 deletions