From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751723AbbHSAmG (ORCPT ); Tue, 18 Aug 2015 20:42:06 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:35802 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750871AbbHSAmD (ORCPT ); Tue, 18 Aug 2015 20:42:03 -0400 Date: Tue, 18 Aug 2015 17:41:58 -0700 From: Brian Norris To: Alexey Khoroshilov Cc: David Woodhouse , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org Subject: Re: [PATCH] mtd: nettel: do not ignore mtd_device_register() failure in nettel_init() Message-ID: <20150819004158.GR60523@google.com> References: <1439505467-32746-1-git-send-email-khoroshilov@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439505467-32746-1-git-send-email-khoroshilov@ispras.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 14, 2015 at 01:37:47AM +0300, Alexey Khoroshilov wrote: > If mtd_device_register() fails in nettel_init(), iomap left mapped. > > The patch adds failure handling for mtd_device_register(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied to l2-mtd.git