Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750993AbbB1K2j (ORCPT ); Sat, 28 Feb 2015 05:28:39 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:36468 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728AbbB1K2g (ORCPT ); Sat, 28 Feb 2015 05:28:36 -0500 From: Brian Norris To: Richard Weinberger , Artem Bityutskiy Cc: Brian Norris , , , kernel-janitors@vger.kernel.org Subject: [PATCH 0/5] UBI: Coverity-inspired fixes Date: Sat, 28 Feb 2015 02:23:24 -0800 Message-Id: <1425119009-28634-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: 946 Lines: 28 Except for the last one, these were inspired by Coverity Scan results. These fixes have barely been tested, but they are pretty straightforward logically. As they've been sitting in my dust pile too long, I thought I'd at least get them out there. Brian Norris (5): UBI: account for bitflips in both the VID header and data UBI: fix out of bounds write UBI: initialize LEB number variable UBI: fix check for "too many bytes" UBI: align comment for readability drivers/mtd/ubi/attach.c | 2 +- drivers/mtd/ubi/cdev.c | 2 +- drivers/mtd/ubi/eba.c | 3 ++- drivers/mtd/ubi/ubi.h | 2 +- drivers/mtd/ubi/wl.c | 2 +- 5 files changed, 6 insertions(+), 5 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/