Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9661694imu; Wed, 5 Dec 2018 08:18:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/WQMRGBdEq5cc0Srfk4/05JyyrUr2pS0VFP1oN2sTpXeBZGewGkLvC/mPkTJUDeSFiDYNMk X-Received: by 2002:a17:902:9691:: with SMTP id n17mr25434531plp.9.1544026737240; Wed, 05 Dec 2018 08:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544026737; cv=none; d=google.com; s=arc-20160816; b=Y6j7PXdLYf349kkrK8JJ2p1SjVsMwTqyL+gsP7YQh7lvUt2/jV8C9PYkqGmA+wxLLf 7YF0rx1PnH1IhETu3czfCjzYBjIw05mpMJQkl27guB6Iz/1DGpHfV9yK2s3Rh9gpo2M7 z2VboJKJ4Ap9vJUB6DNrL2S4V8aypxy4VQWqaGsj4fV3j9nNYAoAHDZyLP/5jQyCGT2m fdQAZaXStzDDbjZNYFLHXzpSRH21g8LCQl0QVrbzD8bWMtXPK6sD+awihCG5f8UyEgKr k1Qqhj67nWhmiiKS7ag5B6oiHWFLOKtze3ivMS1g2QRgnfb01x7e1PJMn9Y4gSbx1mqF zQJg== 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:from:date:dkim-signature; bh=Ew5wz79DK0P/QNOxBTyTb10TRHtfLis2s/SRSKjsHpQ=; b=xOygnyP+xFAJT8sovnrHdEzRNYUtK9xyRvSifwaKgzy3Xw3qoSd6QoK4FpcyJJ72Y8 2zfA4fL/N7KPWdMs7VnTQ+EU5yLFC675SkMBVilkS29UYd2aUnGVvwMsLb4wMH/0ijoq ERp2hxIVQFM8NWWAZw35bNqiXWo/xcig1WhgOSt/eAz0AtfGRFA5U68WLqWo7qoUmSuC ZX9Fm0/TfQsA43fwKjjTThuTujjvrMpQYJNUcO1NsEdvrSgBVbTPk0YtFcuXYI+Y6xK0 yB8NPSXK6Zb97Pwyw9frkN180F9NEGudG/wRDwdIAzWvTZhPc0jxNcPQPa4Eb4DnI6h+ V59A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VX6IHrc4; 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 t64si18324516pgd.202.2018.12.05.08.18.42; Wed, 05 Dec 2018 08:18:57 -0800 (PST) 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=VX6IHrc4; 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 S1727994AbeLEQRq (ORCPT + 99 others); Wed, 5 Dec 2018 11:17:46 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:36066 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbeLEQRq (ORCPT ); Wed, 5 Dec 2018 11:17:46 -0500 Received: by mail-pf1-f195.google.com with SMTP id b85so10254757pfc.3 for ; Wed, 05 Dec 2018 08:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Ew5wz79DK0P/QNOxBTyTb10TRHtfLis2s/SRSKjsHpQ=; b=VX6IHrc4NusAxF875Deq9Pr7bbhsPUoG40nGCl2WeQHEHmGt1FsAWVH9J8Jx31Iw7L lQreHGowszns8ZSH3bjiZsAiNMtaiyzj8zjFKAgtEsxDDbjdIUm4ukLKE6y9dGINbvAk PU3CWVPWBLrEnDEuBOrnu9+ztR4X01Kgwtx4VDHZrxxrAJEszpra/pnnyOVOhVDSZsNy 9QyTYdHP2ZtmvIgZmvKMZwjHG+Ya8/35OAzJmlf8CnXenPOHsl2Bp1OTNcaQokp1EdZ0 E9AuArRNiUmBxTB6tu07aNat1Z9tO9Ntr01UngVBHh7ZltaQ8xnj+gSbCLJiRzRIIbtr hweg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Ew5wz79DK0P/QNOxBTyTb10TRHtfLis2s/SRSKjsHpQ=; b=aIbq6EkhNqLzW8xWyUErg8qeg/dm/mfP6Pz+XKW7qdsivYMOKivfdn8WISgn1Bop3W vhWHKOG7ylnodsWwCDKj1GfJrRfYbM8cpchFyDsyZpFdp9gqKB7JCks1t/FMx62euswG l1FiMw48XZtCcrYA7L/0fouk7Hg7EYP2pOy5n/qH2CjKoKzWCwtIHlYttBleaD97O+Rx neGoCYFUxwKkmQ9SQ5ufNb8RoDVrNDIRAmmT+V1n+QmyzRuctVZx6g2kqN9N82c6wdGD qZLCKiQKUiiBmCv2VcmG/Zw4p+muaUxaXwCrXWuQZBq7thhrQEx4GZ3yhxpy+dQgBTVV G4Ig== X-Gm-Message-State: AA+aEWblYo1LP2KlTOUQg57VMMY+zkOHAyWN0N8XgNsMJ0C0ldnTKRK6 TiOuuT8cGKtUOR+w67gKLns= X-Received: by 2002:a63:5761:: with SMTP id h33mr20993473pgm.283.1544026665024; Wed, 05 Dec 2018 08:17:45 -0800 (PST) Received: from nishad ([106.51.27.228]) by smtp.gmail.com with ESMTPSA id y6sm26994479pfl.187.2018.12.05.08.17.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Dec 2018 08:17:44 -0800 (PST) Date: Wed, 5 Dec 2018 21:47:32 +0530 From: Nishad Kamdar To: NeilBrown , Greg Kroah-Hartman , Joe Perches Cc: devel@driverdev.osuosl.org, Christian =?utf-8?Q?L=C3=BCtke-Stetzkamp?= , linux-kernel@vger.kernel.org, Dan Carpenter Subject: Re: [PATCH v6 1/3] staging: mt7621-mmc: Remove #if 0 blocks in sd.c Message-ID: <20181205161729.GA12467@nishad> References: <87sgzzcru8.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sgzzcru8.fsf@notabene.neil.brown.name> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 18, 2018 at 08:33:03AM +1100, NeilBrown wrote: > On Thu, Oct 04 2018, Nishad Kamdar wrote: > > > This patch removes #if 0 code blocks and usages of > > functions defined in the #if 0 blocks in sd.c. > > > > Signed-off-by: Nishad Kamdar > > Hi Nishad, > thanks for this patch (and others) and apologies for not > reviewing/testing it earlier. > Unfortunately there is a problem - see below. > > > > > -#if 0 /* --- by chhung */ > > -/* For E2 only */ > > -static u8 clk_src_bit[4] = { > > - 0, 3, 5, 7 > > -}; > > - > > static void msdc_select_clksrc(struct msdc_host *host, unsigned char clksrc) > > { > > u32 val; > > Above you removed the first few lines of a "#if 0" block, but not all of > it. Previously the function msdc_select_clksrc() was not compiled at > all. Now it is, and that causes an error - MSDC_CLKSRC_REG is not > defined. > > Would you be able to send a follow-patch patch which removes this > function and the "#endif /* end of --- */" at the end? > > Thanks, > NeilBrown Sure, I'll send the updated patch. Thanks for the review. Regards, Nishad