Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751152AbdLNJI5 (ORCPT ); Thu, 14 Dec 2017 04:08:57 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:60490 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbdLNJIz (ORCPT ); Thu, 14 Dec 2017 04:08:55 -0500 Date: Thu, 14 Dec 2017 10:08:24 +0100 From: Andrew Lunn To: Antonio Borneo Cc: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , Chris Packham , Rob Herring , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: mchp23k256: propagate return value of spi_sync() Message-ID: <20171214090824.GB19186@lunn.ch> References: <20171210151956.2053-1-borneo.antonio@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171210151956.2053-1-borneo.antonio@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 259 Lines: 9 On Sun, Dec 10, 2017 at 04:19:56PM +0100, Antonio Borneo wrote: > The call to spi_sync() can fail. > Check the return value and propagate it. > > Signed-off-by: Antonio Borneo Reviewed-by: Andrew Lunn Andrew