Return-path: Received: from mail-oi0-f52.google.com ([209.85.218.52]:36712 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755805AbcFAETs (ORCPT ); Wed, 1 Jun 2016 00:19:48 -0400 MIME-Version: 1.0 In-Reply-To: <1464358702-19083-7-git-send-email-javier@osg.samsung.com> References: <1464358702-19083-1-git-send-email-javier@osg.samsung.com> <1464358702-19083-7-git-send-email-javier@osg.samsung.com> From: Julian Calaby Date: Wed, 1 Jun 2016 14:19:28 +1000 Message-ID: (sfid-20160601_062011_991114_23D739E4) Subject: Re: [PATCH 6/8] mwifiex: check if mwifiex_sdio_probe_of() fails and return error To: Javier Martinez Canillas Cc: "linux-kernel@vger.kernel.org" , Xinming Hu , Amitkumar Karwar , Kalle Valo , netdev , linux-wireless , Nishant Sarmukadam Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi All, On Sat, May 28, 2016 at 12:18 AM, Javier Martinez Canillas wrote: > The function can fail so the returned value should be checked > and the error propagated to the caller in case of a failure. > > Signed-off-by: Javier Martinez Canillas This looks sensible to me. Reviewed-by: Julian Calaby > --- > > drivers/net/wireless/marvell/mwifiex/sdio.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) Thanks, -- Julian Calaby Email: julian.calaby@gmail.com Profile: http://www.google.com/profiles/julian.calaby/