Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1535533ybg; Wed, 23 Oct 2019 17:52:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHcRp5Aa9H527/V9X9J4khQwAecCCkyuFjpdJOXBHR5Vt1+N/9ufv6nVPcLmSMQpQkkUKd X-Received: by 2002:a17:906:55d1:: with SMTP id z17mr35432229ejp.300.1571878322506; Wed, 23 Oct 2019 17:52:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571878322; cv=none; d=google.com; s=arc-20160816; b=cXBIUaPTvBIXZmKbdNG7QxEcHO4Oh2N5rQfO1ye4obUQN+HJYIN0IM8pPrra1d50w1 DdsWRcxHo5W7HqzUtx4jkt5pCAQOzavYn4uoEz65/58NC7wHEF5TO2ON8DfVeaVd03qf 2SHuTEXX3fDBDAXgWzb31YiNUhPzmYBx57BWKdGm2t9VjCZo5D7ylxyAT1UVdMD0MV3i bVKg/AdDfXIu3UurRds73wBiyVHe0xhkZUEHPuXQeFD5jS3LtvnJ+u85cA4fFqwf3q6m 6K5nsBsy0+S5aaWeVotRdwecQzF7dKKtATEf1dwdrrgJXTStfpwcuQfBq4rb5EOh/lUx HzKA== 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; bh=nP4lAiDxBOq/xyhyVpDxXjzC+UABd5kZBFirw4GXfhs=; b=LSrmijCRZqN+58SPdHIKmu5CWgkDHo+PoNrkt+kQ/GG0djIrw8o+2/3nj4vZhOen4M wMhrlg7Aq9Rd6ZiAEQZ2I1H0vfyFHQ4KnDUfFl39JmsGbot8ba59oa2G4lbrFmrSu9L9 weVJs2VrtNQObiSzT8i1x8HHsRQx3s8gSqUSb+U8m0D14+RNDMNk/P/ZHgXNtJssgjBE F2AP8XlyDs94ltL7rFR7dhttmF1k4RvnBbtIGXsiOq/vxqzDASYi28Q9ASLtJMSClFL6 qNbiWrlPQbgQ/ZC/CYzDggrzmhnQYlCQ1JYgArXbfOjL1yqyIQKLkkR0yQ94R5wojdhk kzQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 y61si5769563ede.24.2019.10.23.17.51.29; Wed, 23 Oct 2019 17:52:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392216AbfJWOjl (ORCPT + 99 others); Wed, 23 Oct 2019 10:39:41 -0400 Received: from muru.com ([72.249.23.125]:39286 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389921AbfJWOjl (ORCPT ); Wed, 23 Oct 2019 10:39:41 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id B4C7480CF; Wed, 23 Oct 2019 14:40:14 +0000 (UTC) Date: Wed, 23 Oct 2019 07:39:36 -0700 From: Tony Lindgren To: Sebastian Reichel Cc: Arnd Bergmann , Matt Mackall , Herbert Xu , Greg Kroah-Hartman , Aaro Koskinen , Adam Ford , Pali =?utf-8?B?Um9ow6Fy?= , Tero Kristo , Rob Herring , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hwrng: omap3-rom - Fix unused function warnings Message-ID: <20191023143936.GH5610@atomide.com> References: <20191022142741.1794378-1-arnd@arndb.de> <20191023131452.2rilepif7x5lpfma@earth.universe> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191023131452.2rilepif7x5lpfma@earth.universe> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org * Sebastian Reichel [191023 13:15]: > Hi, > > On Tue, Oct 22, 2019 at 04:27:31PM +0200, Arnd Bergmann wrote: > > When runtime-pm is disabled, we get a few harmless warnings: > > > > drivers/char/hw_random/omap3-rom-rng.c:65:12: error: unused function 'omap_rom_rng_runtime_suspend' [-Werror,-Wunused-function] > > drivers/char/hw_random/omap3-rom-rng.c:81:12: error: unused function 'omap_rom_rng_runtime_resume' [-Werror,-Wunused-function] > > > > Mark these functions as __maybe_unused so gcc can drop them > > silently. > > > > Fixes: 8d9d4bdc495f ("hwrng: omap3-rom - Use runtime PM instead of custom functions") > > Signed-off-by: Arnd Bergmann > > --- > > Reviewed-by: Sebastian Reichel Thanks for fixing these similar issues again: Reviewwed-by: Tony Lindgren