Received: by 10.213.65.68 with SMTP id h4csp347594imn; Tue, 20 Mar 2018 05:10:47 -0700 (PDT) X-Google-Smtp-Source: AG47ELvhNTr5MdCkPE3RT30scHRDuz7oe/UTyjjqe1XbVeOdw7cMgCjAIuRzMb2jb1NePsupzqW+ X-Received: by 10.101.97.26 with SMTP id z26mr11990096pgu.44.1521547847123; Tue, 20 Mar 2018 05:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521547847; cv=none; d=google.com; s=arc-20160816; b=TQG4YiEIW/Xbostuchz3bTkK3LYX5+7+wBi5jHMKFk2apluYRCrBI43QZoPt0FjRft p8UGxAXe7uHjQa83n4eQv1tEv2MRM1GB5twU2vq7awE3pNaQftvph0RyfgoUaxYDIg2R X0XaihTwwF2Sd0DGCkMzavtwYLNO0NLwyG4jEfTIKl+KXg/3u93Rpyonjl88ysC0EgPD YczrBMmG0B7wVNij/9PRAFCi2LIPzMzPeXSUrezwvcPayHL4aU+xk1izNnRHNeeuKmnT fi7M+xl6pLmRou7hW/TXfWpd+TDYYoeDRjpWuCRMMlJIruMb8MlFy934hH1REWUnEWbb 6UlA== 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=7OtwoNMXKYv6XfcBPdjvwNOyY57gUF86cBQergyFZVE=; b=IdAleZz8cIwIv1VeNudPp26upoMgycTboMazRQNOnzsuNg/21OKJ1PuAtvTUxbDc+I 5RVGFRy0DcxHi+eSFEVeDo5NttzNBZ2NFp1DnTl/dsayCJtjrB9pKeughI7OxIMU8PmU aVEkqhkV/STrgk+Ynee7Br5nsVwy7K4ttaNsaNUQVA01hGTEcQufCAjHLI4GlcgkwEy4 OwLejCAaoPq0vu3LQvLr56aizHkBiUPTDytGV8be4uH+FovaPaZxDwcrcgcgmr5WYj/s aYhzgDxHiBOfAIlsnq9rS3tuxb4dLC0rAk73sU+rV5NMgY3yrq3CJqf+gSUvlnDu6BnL m8EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M8s460BD; 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 d205si1201225pfd.191.2018.03.20.05.10.08; Tue, 20 Mar 2018 05:10:47 -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=M8s460BD; 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 S1753022AbeCTMIx (ORCPT + 99 others); Tue, 20 Mar 2018 08:08:53 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:38080 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751348AbeCTMIu (ORCPT ); Tue, 20 Mar 2018 08:08:50 -0400 Received: by mail-io0-f194.google.com with SMTP id b20so2042615iof.5; Tue, 20 Mar 2018 05:08:49 -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=7OtwoNMXKYv6XfcBPdjvwNOyY57gUF86cBQergyFZVE=; b=M8s460BDktseswMCyH/NsmHL+aULWhpnDJItPN4Z2Idwv6ML59DxXsoXmeZxvF/z2l V5iFRA+OUdoqXYHDF1CQRVgZVbXx2WXVhzsSytT+kqEJDMCwUj1KsF22aDSgj5tADQoY 7rWbgx799+KxCNXCd0NfiLYhIlQgPdjqTETdYlVLJfE9/3IHYua4IPm0uxd7uLVgfNTf AlN4mrY60m5Sm44QC4A7rsi/RY4VSIh1Yf135bocyc+sDAe3UVYhV6BB9dvLfTU8Tqav 9lpFcaWuwQkupe1p2UpumbQfqYoROS/9Hq1RkoFM17MrAHr5e6vgAxN57mRNCEiAsyE+ tzkg== 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=7OtwoNMXKYv6XfcBPdjvwNOyY57gUF86cBQergyFZVE=; b=isbPhkOG80H1M0a/B5JsInpAbymtQt9+xkNS1jBDGOA6RY/LqqZzkxZxZA33t6l35O SE+aqhrzloHpK/8YxAHxoyoFQstO1Ptw6mAujV9zph7hQ7UmbMMKvpYMXoPWIG72rPQN 7YEYmeZcFkqs+UI7X0vG0SdcwQASJXwORiK/FJJvorA6B1vHJVsG4VdaZERFDteh3TMK SHUYTF89VRIwlIQHRt2caNFurQFyLqAtPVCbQ5/1mzn9IYzHnc0SX9FaWKs/56qPYqia PnJtp4BVK2sMo4/NLZoqOXM9ANIxCAPCdL4qs9Y7vIEcXoPNQOLeVebhGcFyiETLInkF pI3w== X-Gm-Message-State: AElRT7HO/2M9TlQEaovJjW9vlUynmHo/kxXJnxBw2Xp9NxzIBJjhMiZ5 Pms/6X6FvQESib87AKxKnyk= X-Received: by 10.107.46.149 with SMTP id u21mr14969315iou.181.1521547729168; Tue, 20 Mar 2018 05:08:49 -0700 (PDT) Received: from hariprasath ([122.165.96.181]) by smtp.gmail.com with ESMTPSA id d128sm1169855iod.19.2018.03.20.05.08.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 05:08:48 -0700 (PDT) From: "" X-Google-Original-From: "" Date: Tue, 20 Mar 2018 17:38:42 +0530 To: Greg KH Cc: hariprasath.elango@gmail.com, aditya.shankar@microchip.com, ganesh.krishna@microchip.com, dan.carpenter@oracle.com, gehariprasath@gmail.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2] staging: wilc1000: replace switch statement by simple if condition Message-ID: <20180320120842.GB4033@hariprasath> References: <20180320114331.4084-1-hariprasath.elango@gmail.com> <20180320114720.GA31253@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180320114720.GA31253@kroah.com> 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 12:47:21PM +0100, Greg KH wrote: > On Tue, Mar 20, 2018 at 05:13:31PM +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(-) > > What changed from v1? Always put that information below the --- line, > like the kernel documentation asks you to do. > > v3? :) > > thanks, > > greg k-h Lesson learned. I will send a v3 with version history included regards, hari prasath