Received: by 10.213.65.68 with SMTP id h4csp328521imn; Tue, 20 Mar 2018 04:44:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELsitkZIptAc+WnAQ9vo+E2kO4VRj2e/oTL9uVVWU66w8jcA1YLGwd4tMPiyx2zpoogv2DD5 X-Received: by 2002:a17:902:20c2:: with SMTP id v2-v6mr16664852plg.82.1521546248868; Tue, 20 Mar 2018 04:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521546248; cv=none; d=google.com; s=arc-20160816; b=vmMzI3OhII6NvABdLUAEdN2hw9WcXO044Hua8Gou/6RmksQ2ePTWcbfXWPOXmmyOJ+ HF4eyH1fR/mJpAT2bkX9L50Xa3LD7aRNPYU1xp+WVRDpZKjr23XO2j8Q/omfrGUiXeiM baaA+wBHZM8WalWUrHlwDZA5MgJNapYI33jwT/tczpDj5XouLSPfOk5mQq4L2PxACk8K gX8nWf/NzxA0sr6uFz1hmPLaJpPvBZY33p1FGX5mzKOuILcHssnRWlV8wQGac6drc45Z BzJ84MCceVIK7HT03cLIglthhmQpQy0OBW6moNAO+dWaw95NrTji7NreGMB0WjjEOHuD DQGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature:arc-authentication-results; bh=2Qocpp4g5xKlxm4GfNFphiFRfMp8Q/Wvh5T6lWVBrjA=; b=xr+pTYjsDA7QrctsZM7VqQdrm7tJ93EHyhjaF1WeD4FYnseEb+IdzOlmMmsk1NzPb3 O9GhlFjjjQDUing3z3O31seRIZyW1C9QHWNWS/dm2AwEfNt59w50lxymtK1/iAF9avN5 W8OHulFEr2QB+R8Lmfooc97D7f8m4qu+Aoyas478IzfBDpz2+B/uqg2psV+N4LgDvhN7 ViRo1yBkyEp7MFupSC+AN530uSUDgwSISwgqd2aQT7ffaC1x3Motq4MhisO5tpvIPU7H +OY28hqUqY4Q0gM3RplGDmyQIKkFPZ1n+eHsIFoNzZVgrSswutHj1UOv3djCJImpiFNP diQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IJxCI2wh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o86si1189362pfi.253.2018.03.20.04.43.54; Tue, 20 Mar 2018 04:44:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IJxCI2wh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753029AbeCTLme (ORCPT + 99 others); Tue, 20 Mar 2018 07:42:34 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35197 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752774AbeCTLmb (ORCPT ); Tue, 20 Mar 2018 07:42:31 -0400 Received: by mail-it0-f68.google.com with SMTP id v194-v6so2006175itb.0; Tue, 20 Mar 2018 04:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2Qocpp4g5xKlxm4GfNFphiFRfMp8Q/Wvh5T6lWVBrjA=; b=IJxCI2whDL47wdS/ZPLLQiJDWzwrm+PxuWqedKzlDTbvT2smQcrEIirgq8dRFDw5wu lNthfm8u7AQ47bIgNashsYAVMpjEMS7uYidd2SRI8V63/KTS0EbGEuHVv9jxkavNS5ro l2rfR1fpE6dSML/eTsowFj9CNXi4PtdvT1RE+CLeJTVWHVeUmVGZ6RoVBemlAGY2PNaD mv/3E8WcUQrNBZqyYVkJJ5VAzHkcPYwnBfRlFVsjq7Lgro3MJTHkAUPySSulHeUpU4J4 ePBPR71PhWox1Fc/KalshCNvZovQWMhT5ngRdiMYFHyC6oyTdb+UwJjCTxbozr68lTkQ nwEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2Qocpp4g5xKlxm4GfNFphiFRfMp8Q/Wvh5T6lWVBrjA=; b=mKiJr3QXw0Y3mL1JXT8KUyIgLgHzXXf6Zu2bFa9kXCZgZc2LL4dWdKHN+18vCaYOh6 WWZifdgkMcZEV6kawpQkpgq2Zot9+1eZU1UWdfAypfjoFXhHmsJOdv1qcpsmm3dtt3eg 9gyh0yOY37LrTUGwp6aaJZTMtFgg5qTjhlhj5gbQFEv1pqFNW+8R3YA1NY08g88Qp3QY pN98l2fOVq6RBRJCEVhEAYLm4Lvxwii9XF40bNdr4IeR62vsx27f0tg0J0K/0+rIk+yL NxXi/iuKdcpmwXU/IZ2tqhV+sX6tOkMpwBBBeLW2KPaQPagu5+Mq9JEv77UjGLdlLvMT sSDA== X-Gm-Message-State: AElRT7HsHt2zFdTjLzt9uQwEpprT1D9i4eN0JHV1DdI/1kqLtyF/JwzS ap6YIJRCnvfAdPD66USn+4o= X-Received: by 2002:a24:1c4:: with SMTP id 187-v6mr1441279itk.117.1521546150529; Tue, 20 Mar 2018 04:42:30 -0700 (PDT) Received: from hariprasath ([122.165.96.181]) by smtp.gmail.com with ESMTPSA id z66-v6sm1148645itg.37.2018.03.20.04.42.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 04:42:29 -0700 (PDT) From: "" X-Google-Original-From: "" Date: Tue, 20 Mar 2018 17:12:23 +0530 To: Dan Carpenter Cc: "" , Greg KH , devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ganesh.krishna@microchip.com, aditya.shankar@microchip.com Subject: Re: [PATCH 5/7] staging: wilc1000: replace switch statement by simple if condition Message-ID: <20180320114223.GA4033@hariprasath> References: <2a46a5cc8ab69c1143c480bbac1f7e921011d982.1521030891.git.hariprasath.elango@gmail.com> <20180319184546.GA17337@kroah.com> <20180320061227.GA4866@hariprasath> <20180320112951.wgrd76pxsu3qgk6r@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180320112951.wgrd76pxsu3qgk6r@mwanda> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 20, 2018 at 02:29:51PM +0300, Dan Carpenter wrote: > On Tue, Mar 20, 2018 at 11:42:27AM +0530, wrote: > > On Mon, Mar 19, 2018 at 07:45:46PM +0100, Greg KH wrote: > > > On Wed, Mar 14, 2018 at 06:15:03PM +0530, hariprasath.elango@gmail.com wrote: > > > > From: HariPrasath Elango > > > > > > > > In this case,there is only a single switch case statement.So replacing > > > > by a simple if condition. > > > > > > > > Signed-off-by: HariPrasath Elango > > > > --- > > > > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 +------- > > > > 1 file changed, 1 insertion(+), 7 deletions(-) > > > > > > Does not apply to my tree :( > > > > Hi Greg, > > > > Sorry about that. > > Probably there were other patches on the list that were applied first. > It's likely not your fault, but just part of the process. > > > Shall I sent a v2 after rebasing my repo ? Will that > > be fine ? > > Yes. > > regards, > dan carpenter Hi dan,thanks for the feedback. I will send a new version of the patch