Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564AbbB1KCz (ORCPT ); Sat, 28 Feb 2015 05:02:55 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:40437 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728AbbB1KCw (ORCPT ); Sat, 28 Feb 2015 05:02:52 -0500 From: Brian Norris To: Cc: Brian Norris , , kernel-janitors@vger.kernel.org, Masahiro Yamada , Akinobu Mita , Kyungmin Park , Robert Jarzmik Subject: [PATCH 0/7] mtd: various fixes caught by Coverity Date: Sat, 28 Feb 2015 02:02:23 -0800 Message-Id: <1425117750-22298-1-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 32 Several unrelated MTD fixes inspired by Coverity Scan results. I couldn't test all of them, but they're all pretty obvious. Brian Norris (7): mtd: docg3: drop dead code mtd: onenand: drop dead code mtd: tests: fix more potential integer overflows mtd: nand: fixup bounds checks for nand_{lock,unlock}() mtd: nand: denali: drop dead code mtd: blkdevs: remove dead code mtd: nand: fully initialize mtd_oob_ops drivers/mtd/devices/docg3.c | 2 -- drivers/mtd/mtd_blkdevs.c | 3 --- drivers/mtd/nand/denali.c | 3 --- drivers/mtd/nand/nand_base.c | 12 ++++++------ drivers/mtd/onenand/onenand_base.c | 12 +++--------- drivers/mtd/tests/oobtest.c | 2 +- drivers/mtd/tests/speedtest.c | 2 +- drivers/mtd/tests/stresstest.c | 4 ++-- drivers/mtd/tests/subpagetest.c | 4 ++-- drivers/mtd/tests/torturetest.c | 8 ++++---- 10 files changed, 19 insertions(+), 33 deletions(-) -- 2.1.0 -- 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/