linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] fix a possible NULL dereference
@ 2015-11-20  7:45 LABBE Corentin
  2015-11-20  7:45 ` [PATCH v2 1/2] mtd: nand: atmel_nand: constify atmel_nand_caps structures LABBE Corentin
  2015-11-20  7:45 ` [PATCH v2 2/2] mtd: nand: atmel_nand: fix a possible NULL dereference LABBE Corentin
  0 siblings, 2 replies; 8+ messages in thread
From: LABBE Corentin @ 2015-11-20  7:45 UTC (permalink / raw)
  To: computersforpeace, davem, dwmw2, herbert, jamie, josh.wu,
	linux-arm-kernel
  Cc: LABBE Corentin, linux-crypto, linux-kernel, linux-mtd

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-25  2:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20  7:45 [PATCH v2 0/2] fix a possible NULL dereference LABBE Corentin
2015-11-20  7:45 ` [PATCH v2 1/2] mtd: nand: atmel_nand: constify atmel_nand_caps structures LABBE Corentin
2015-11-20  8:28   ` Josh Wu
2015-11-20 17:57     ` Brian Norris
2015-11-20  7:45 ` [PATCH v2 2/2] mtd: nand: atmel_nand: fix a possible NULL dereference LABBE Corentin
2015-11-20  8:33   ` Josh Wu
2015-11-24 13:12     ` LABBE Corentin
2015-11-25  2:20       ` Josh Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).