[PATCH v2 0/2] fix a possible NULL dereference

From: LABBE Corentin
Date: Fri Nov 20 2015 - 02:46:17 EST


Hello

The main goal of this patch series is to fix a possible NULL dereference.
Even if the probability of this case is very low, fixing it made
static analyzers happy.
In the same time it permits to remove a "cast that drop const qualifiers.

Regards

Changes since v1
- Use of_device_get_match_data
- Add the missing patch for constify atmel_nand_caps structures

LABBE Corentin (2):
mtd: nand: atmel_nand: constify atmel_nand_caps structures
mtd: nand: atmel_nand: fix a possible NULL dereference

drivers/mtd/nand/atmel_nand.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

--
2.4.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/