Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp982635imu; Sat, 17 Nov 2018 13:34:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/VoiFqM7dCu/mvbkH0bsF6xw7DPcgg/rmFiwyfXUJnGqYpprB/hAot9NB9/3W6/3jm5kF1q X-Received: by 2002:a17:902:14b:: with SMTP id 69mr1129038plb.52.1542490462523; Sat, 17 Nov 2018 13:34:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542490462; cv=none; d=google.com; s=arc-20160816; b=Pnp8i1luAYByjKiPB12m8K3CK1QV//OVic6mz0iTTFYOA3kKma21qUaS4bQ9iEoLAF KtFVnWXEBTjgvMHdTjWTSuVgoHNP5v4cRf/Ig7OeqjMcIvX1/bJcyFXUkc47TrDIFvZ/ XMgt9GmY14E8gutwaWtFrrIguf6FiwPcJoFg6V74lYl6w8XLH/rrGFdFf+91H9Hmv74T o4iyTul2MJhR81nQBvZTfW2kgEcbEEwSC2e3TVUVQ92uxKbQP5zCIZzWOwb16ghdBdYw V49wZpMRQg+a6315clS+HTl6g1ixbNaRqYn+/3IADVP/58/86uv0UyidUehzMce/PSYr u3YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from; bh=g8rsh4jSFEziWpGvUV9eXGeHfo5WsDroDe3XJjyEn2s=; b=vI/0mamcciZaqWjBcw0wEkME8oWbnTeuy4wky7ZtnA0eyuRSEyGX30dSgpnhAEu5c3 27UF3EqFQQQrP5tRuYRMyUwa6JhGj65zhohQws0G6w346IPW82Y46xswUxrC06zfZ3/W QcS6x5pkhGlHYOTL0fdHa3TTc8TmtaCU5i4RjPXn0x8QxxzO8TfOKUEO+ic138KFO3w6 bXlnw1ctkDh/mq6ln+HUzmNcUPb4WIc6CT396i1xc3rd/RBsCJ0h5Vn8wUtHnr64v35p KaCu9ILGkgiN+YTVyCW4uuaCIvCYRkSiOtq/RHic87z5rtjh/7dSMOE5DHUFHJAGsIEw W5MQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si20072032pln.289.2018.11.17.13.34.04; Sat, 17 Nov 2018 13:34:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbeKRHvQ (ORCPT + 99 others); Sun, 18 Nov 2018 02:51:16 -0500 Received: from mx2.suse.de ([195.135.220.15]:51578 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725765AbeKRHvP (ORCPT ); Sun, 18 Nov 2018 02:51:15 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C3803AD0A; Sat, 17 Nov 2018 21:33:12 +0000 (UTC) From: NeilBrown To: Nishad Kamdar , Greg Kroah-Hartman , Joe Perches Date: Sun, 18 Nov 2018 08:33:03 +1100 Cc: devel@driverdev.osuosl.org, Christian =?utf-8?Q?L=C3=BCtke-Stetzkamp?= , linux-kernel@vger.kernel.org, John Crispin , Dan Carpenter Subject: Re: [PATCH v6 1/3] staging: mt7621-mmc: Remove #if 0 blocks in sd.c In-Reply-To: References: Message-ID: <87sgzzcru8.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. =20 >=20=20 > -#if 0 /* --- by chhung */ > -/* For E2 only */ > -static u8 clk_src_bit[4] =3D { > - 0, 3, 5, 7 > -}; > - > static void msdc_select_clksrc(struct msdc_host *host, unsigned char clk= src) > { > 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlvwiQ8ACgkQOeye3VZi gbkkhhAAvlqAYwnHB+Gap8yhZTj9NN7d8hgmVH9R3G1CcBtRIXMTVnO5wpc1YTF1 vN5S8Ga0uL7t3Aa17I/nITgzbvhlqV4elEb5vwmh0DzOscYjcLPN2pQc+Qgr0B4/ XywSZ83FQr2M8z0AD1MOzXmf5n1SRgcJVpYlJnReEt0S2cqotmWhTdQHNmgqDVk+ SyVHEtPC26/+1zfxVKfOumTbgz557OfkuYtLgDEgSHSGm0EaAYL425+Jkve85Xf2 WUeumLUtw0CsnT1pgpp7d5lP3neq/b/v7C9VLH4zqhtPIrRgaxchnSClTOQZo6GJ gz+J8d3JEbf4b6hXvZLLGYJPZpqPYh9BFy0nNlys1u+4SEX3oXLNEcs1y5RmxZ7B OzkGOxmVJyygYUsx7Q1OMJaXWqk6HsZU1xOwfNekrzFJPafo3j6h5pesPgAa1tZb gh4t2ZBIrJMKtVtkXqDzrxPpRbT5S5znk4rRkoNDK/L7udbzpllQMdrXun/Mfb9Q eTRnLWdIooJnjeWydsRG9CQBQnRCUZDnoLg2GoV4OckSria4krA/48JUNsxuCUyy hantbitz7wG2Wth3/naouVJBoHLsQH5wyClWVBptkBQY2L3zXERNgmYXeZtgIeRQ wzpkR9dSkRF2yCVHlHT4HM2DXzSphyivJZCD58FmvCqEx1t3AEY= =8boA -----END PGP SIGNATURE----- --=-=-=--