Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp516089imm; Wed, 6 Jun 2018 01:19:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIeQOzxbo0IJs4ATV5iXwQf+ka+QOL/tTct71Z4uDzLWDULP+4y0/J6R+nCfgzS02bTjyhr X-Received: by 2002:a63:7c12:: with SMTP id x18-v6mr1815447pgc.220.1528273152469; Wed, 06 Jun 2018 01:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528273152; cv=none; d=google.com; s=arc-20160816; b=pBAWp/jIGwfGvQq5EkhPl03bmocAtIohZH1x+dkeTCxRICs1mBlqOkFE1n9bZQYa4x nRUEEbn7U2UDEcQftTpN2gAhCiMVKd4jkGiZC+o6Ca6Iz3jGidB/tTo99G1pHX5faFYk WX8d/utuWm2Vf8GQiDS8uWMqfF5jrV3gGVZSSbeVWUXshrfv+H/kpz2MF6K5JtcnGKP8 t5IxHurSeQoPmI5tZeQJO5UI1n47wK8bp5+GamTN7Oq1DXsBG49msePOv4/MnIj8aefw mizsi4KETMCIHgntLdqIf+GEcNulAxZ3x1zv5jbddn461VtB8x9eJ6GqNf3qZiRqU7qO Ujmg== 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:arc-authentication-results; bh=7e2yla2PqAnyt+G7zmf1zmYjbUtIJs41ISI9lYCbGIQ=; b=vlj2gJIfaFAVobRKEQbGlyXM0ff/kyxpuuXrlTCvq+idHVnt2hnyW0m1YbUDGv5NFw DnaCnKN6vhBsR04QxTeunkFhCExolZeXaLPGInzMBmmdVIpkGj5dF/MM3oHkkBbyr6Pc 687xWf/ZoZ4YUqqviF6mSbW0eA1Mc7mHTedMJ3dzCVZxoMkrOBh57CrFHEfp+313YUlQ er1HvPcloo+BSPhW1lWApFfKTKUVUnYMO/AarvmvjwqCF1wzFM1iFJhj9VKEDSB5iDQo EIjda2HtFYSV7+4nxO4jW+a71k46CsSqfMiApLI2RTHYd2yF8XNrT1r2bh2M5UaFw2S2 rNBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VB9q5YSN; 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 c1-v6si48996072pld.103.2018.06.06.01.18.58; Wed, 06 Jun 2018 01:19:12 -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=VB9q5YSN; 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 S932482AbeFFISe (ORCPT + 99 others); Wed, 6 Jun 2018 04:18:34 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44817 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932340AbeFFISb (ORCPT ); Wed, 6 Jun 2018 04:18:31 -0400 Received: by mail-wr0-f193.google.com with SMTP id y15-v6so5204486wrg.11; Wed, 06 Jun 2018 01:18:31 -0700 (PDT) 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=7e2yla2PqAnyt+G7zmf1zmYjbUtIJs41ISI9lYCbGIQ=; b=VB9q5YSN8m4c/PcMcY05eI4DUPS5xMomHLSIJKhgX7KOSSnZbkGUHIYxiEgNwKGN/X BN1N2VUWRqVc89IrJf0DHYlK7uQeO7wD0SsGTlqGCfxVLP5Nm897HcmBIouN6H5+2FDc Q25rhqpXU3wycI7srgXgq+NrXG0O8aKb02/Q5BS0Beo8KGUotKoyTEuIg1QDcY/YET8O nBAYI5vd9Q8ukUhkKQAKENeHVEx9SPYBpQc05Ca72Nwz2VH5bZ/Fmq8cu1pFiBiqnSKs +08s0FB/fy+mc4zpjOJuh5mapKUtaokTCNxkS6+UXBgDiiZmotysVicZzxqJAaIf+0Dn jypw== 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=7e2yla2PqAnyt+G7zmf1zmYjbUtIJs41ISI9lYCbGIQ=; b=j5XQlZhVFlvB8xiPYSK4SaD/M2rf0Wo2C6duca7pZNnOk58RuZMXGadhib5RXhfyS0 rM2dLlvb6zEW9BgAC3gY88uhUzxgL1L+mMZzrlbJ7cQfPIGb+Texr9FrXMVgkjotpWwB 9hctpGC+6O/Rp2M4AwW6kvZjlDvVFyVHIhlCYvGjuaX7dyJsy6sjXwaMi2sTIMrb9+0O VIDPmRXLD9nFrfKDWrvBI0oeMoyqpHLu8Ax6nxhHwHC7DwM+B3wEM9bIKCZVDZ040RqR rScpLUqctKNokVBbEQAr0mxqB03mEjGmg+N475Mq2rE6HDC1yHEbVaMszf1XeWDm7blU dnMw== X-Gm-Message-State: APt69E1C1Y+asmQFVJU/QvjytMxKQW1BAp7h6DpZMmtyS5bRv8wnTHCW v7KfJvDUXQjeiFQvLgWElhZQQA== X-Received: by 2002:adf:f090:: with SMTP id n16-v6mr1564277wro.49.1528273110461; Wed, 06 Jun 2018 01:18:30 -0700 (PDT) Received: from localhost (pD9E510DD.dip0.t-ipconnect.de. [217.229.16.221]) by smtp.gmail.com with ESMTPSA id o138-v6sm4925097wmg.10.2018.06.06.01.18.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 01:18:29 -0700 (PDT) Date: Wed, 6 Jun 2018 10:18:27 +0200 From: Thierry Reding To: Arnd Bergmann , Lee Jones Cc: Maxime Coquelin , Alexandre Torgue , Benjamin Gaignard , Fabrice Gasnier , linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pwm: stm32: fix build warning with CONFIG_DMA_ENGINE disabled Message-ID: <20180606081827.GD11810@ulmo> References: <20180525210843.1821071-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IDYEmSnFhs3mNXr+" Content-Disposition: inline In-Reply-To: <20180525210843.1821071-1-arnd@arndb.de> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IDYEmSnFhs3mNXr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 25, 2018 at 11:08:30PM +0200, Arnd Bergmann wrote: > Without dmaengine support, we get a harmless warning about an > unused function: >=20 > drivers/pwm/pwm-stm32.c:166:12: error: 'stm32_pwm_capture' defined but no= t used [-Werror=3Dunused-function] >=20 > Changing the #ifdef to an IS_ENABLED() check shuts up that warning > and is slightly nicer to read. >=20 > Fixes: 53e38fe73f94 ("pwm: stm32: Add capture support") > Signed-off-by: Arnd Bergmann > --- > drivers/pwm/pwm-stm32.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Applied, thanks. Lee, I applied this on top of your immutable MFD/PWM branch because it depends on the capture support that you applied. I wasn't sure what your PR timing was going to be, so I thought I'd do it this way since I'm pulling in some last minute fixes for v4.18. Thierry --IDYEmSnFhs3mNXr+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlsXmNMACgkQ3SOs138+ s6EcEBAAqwZUm5dl8ofKzCnB3CIifLjGBte4Yw5gnfyd4+WYlkth7fNMZgdCV+Y6 0wb8O7kD1G3XR8JUFY2va6xkwJ+kZ77MUcxS30tv12y8XFngRIHnqtC8YEh+Yfnm mPT2Ci5KLl239jRiTgptWRxCzbbXCNpkGl+nzO5nFtvQ7RGGn0uhBzYvwVomnCMk kF9CXAzPe53zXerh4URh9UeU+64tzr1k9CntsqrKTAraqIlaA4tdGTGUfgvZxLu9 CB7ejodJ5RXz7LbseIAjjoaprECU67Dtl8wrrhIE8GCqbV19TlczkLnUHuurPwMo 0VewxWb2XP3hPGm1XDuflPAvsTvdBS/8JasVLXPN8N4+XyNtJhZLYykUBkaW2M5Q 7OJCsgfh2Z8wVaNZ0n/l4CWyJDt2SkMFz1SNbDAlEbowJ0XCYTiagZsGAcrf32VV 7RGtYlCTq8rZ99jVPUQsLBbbZZMgclG+NFXSGMnjcTdP//Ihf3Dw9KdMA8M3VgDC jh3DGrp1MAR07/diomHi97CX+9IAPm51VFWcKvonbPgHn7J9mckddCR0onk9h+wC 6W4gZ1MTJpFcXL0nmBKMTU6DQPTzHvpCsdfmCBfbTVLKf0tDDBIHpS/JH8s776Ab oZ/dyickV62XE4f4C8X/Cf9/P141PmceysLLzotgaoj+HB2GOts= =/eQ9 -----END PGP SIGNATURE----- --IDYEmSnFhs3mNXr+--