From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pd0-x22c.google.com ([2607:f8b0:400e:c02::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YDH8O-0003XK-7c for linux-mtd@lists.infradead.org; Mon, 19 Jan 2015 18:33:09 +0000 Received: by mail-pd0-f172.google.com with SMTP id v10so16569933pde.3 for ; Mon, 19 Jan 2015 10:32:45 -0800 (PST) Date: Mon, 19 Jan 2015 10:32:42 -0800 From: Brian Norris To: Dan Carpenter Subject: Re: [PATCH] MTD: Deletion of checks before the function call "iounmap" Message-ID: <20150119183242.GJ9759@ld-irv-0074> References: <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <54BBE87C.9020705@users.sourceforge.net> <20150119175835.GH9759@ld-irv-0074> <20150119182047.GG6456@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150119182047.GG6456@mwanda> Cc: kernel-janitors@vger.kernel.org, LKML , Julia Lawall , Kyungmin Park , linux-mtd@lists.infradead.org, David Woodhouse , SF Markus Elfring List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jan 19, 2015 at 09:20:47PM +0300, Dan Carpenter wrote: > The sparc iounmap() implementation in arch/sparc/kernel/ioport.c looks > it prints an error message if you pass a NULL pointer. Seems that way. Thanks. Nak to the patch then. Brian