Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759405AbbKTHpZ (ORCPT ); Fri, 20 Nov 2015 02:45:25 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36538 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758762AbbKTHpX (ORCPT ); Fri, 20 Nov 2015 02:45:23 -0500 From: LABBE Corentin To: computersforpeace@gmail.com, davem@davemloft.net, dwmw2@infradead.org, herbert@gondor.apana.org.au, jamie@jamieiles.com, josh.wu@atmel.com, linux-arm-kernel@lists.infradead.org Cc: LABBE Corentin , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: [PATCH v2 0/2] fix a possible NULL dereference Date: Fri, 20 Nov 2015 08:45:15 +0100 Message-Id: <1448005517-26004-1-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.4.10 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 28 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/