[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1286961160.git.EXT-Eugeny.Kuznetsov@nokia.com>
Date: Wed, 13 Oct 2010 14:04:49 +0400
From: Evgeny Kuznetsov <EXT-Eugeny.Kuznetsov@...ia.com>
To: tony@...mide.com
Cc: linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, balbi@...com,
linux@....linux.org.uk, khilman@...prootsystems.com,
akpm@...ux-foundation.org, charu@...com, tero.kristo@...ia.com,
ext-eugeny.kuznetsov@...ia.com
Subject: [PATCHv2 0/1] omap: Ptr "isr_reg" tracked as NULL was dereferenced
Hi,
Here is second version of patch which fixes bug in
/arch/arm/plat-omap/gpio.c file.
Pointer which may have NULL value in some cases (depend on kernel
configuration and GPIO method) is dereferenced later in code.
I removed BUG() macro to do not halt code execution accoding to comments.
And added WARN_ON() macro and exit from function if pointer "isr_reg" is NULL.
Also compilation check is added for correct architecture
configuration.
Thanks,
Evgeny
Evgeny Kuznetsov (1):
omap: Ptr "isr_reg" tracked as NULL was dereferenced
arch/arm/plat-omap/gpio.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
--
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