From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdZz1-00035p-UC for linux-mtd@lists.infradead.org; Tue, 14 Feb 2017 10:05:17 +0000 Date: Tue, 14 Feb 2017 12:00:27 +0200 From: Mika Westerberg To: Nicholas Mc Guire Cc: Cyrille Pitchen , Marek Vasut , David Woodhouse , Brian Norris , Boris Brezillon , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: spi-nor: intel: use ERR_CAST in return statement Message-ID: <20170214100027.GE15721@lahna.fi.intel.com> References: <1486973661-1164-1-git-send-email-der.herr@hofr.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486973661-1164-1-git-send-email-der.herr@hofr.at> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Feb 13, 2017 at 09:14:21AM +0100, Nicholas Mc Guire wrote: > This fixes a sparse warning about incorrect type in retrun expression > > Signed-off-by: Nicholas Mc Guire Acked-by: Mika Westerberg