Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp68385ybx; Thu, 31 Oct 2019 23:09:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqynQ71xZzuPjdo4a3dMl8GEHB82T2wTYkb152gUEBFym89uaPOPnizmnhRko/VBA8pQ/G7z X-Received: by 2002:aa7:d652:: with SMTP id v18mr969185edr.184.1572588581153; Thu, 31 Oct 2019 23:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572588581; cv=none; d=google.com; s=arc-20160816; b=VpQ0lVTirW9z7BVx2miOaOdCgv7Z2QxETvrPpcCXpQWdlhlWFGbxEYKrz/2Api93Np vj2ZcCBRawcbQaH3cU7w2MDPrWKri6EAkOgcmSQmuGREvOBm2RKzb69C3feBHZ9/8Cvh voNlnPMMkIryNMXe1x2X/hjhtutzc5jXs68RsRWIuC+xiLn5gLpBPL8m6JBtX9NAg4fc D+w01EoHGk4dCLtE3ko1P7FeyBJW0IEbq7hOq97gU+r4Y8m1sKC9Sktwkuze4lGKoB5N qG6SMWfx3whNf2ScMNoHNFAR0xvroUD/Zmys7uaIjocYwXXIF1waBR66ekoOvBS7R6FG Tc7Q== 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=tO7QcHA6o9C6A5G2mflgAaul/4xDNg0uVTxXVvF0w7c=; b=Co8xWliqpZQ6uevzP1qZ0ARRZ19/AiSk37oFMbRE9t6n5aS2IN03S61yOPhYURQpCF WKnGihSS+9HX+522wisIAqFQZJc0SRrbwGLViQlpyIdF4A6ogp1cjZh/+lYZB7vRtkP7 QMxafHl96IU7GrnWZN1n5Da2fLD6Syk8bhd6dtpjJrx7R+6NBxYf0dokhseokMT1iYKE ARjepFztV0TQcPdgET68hN4TabSZjdYcAzNET4YleL2DKZ4rfJJ5FCrQws6zIOSNgr4F agbIi9x+rVGIceqcDzQTBkt6TrnoZMkjs6gxFV6PvFzZO7fKu4WEpjw7+zwugV/puV+f Ru4Q== 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 se21si301005ejb.37.2019.10.31.23.09.15; Thu, 31 Oct 2019 23:09:41 -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 S1727492AbfKAGHm (ORCPT + 99 others); Fri, 1 Nov 2019 02:07:42 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:37530 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725784AbfKAGHm (ORCPT ); Fri, 1 Nov 2019 02:07:42 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1iQQ5n-0001sz-Vi; Fri, 01 Nov 2019 14:07:28 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1iQQ5i-0004pU-QY; Fri, 01 Nov 2019 14:07:22 +0800 Date: Fri, 1 Nov 2019 14:07:22 +0800 From: Herbert Xu To: Arnd Bergmann Cc: Matt Mackall , Greg Kroah-Hartman , Aaro Koskinen , Adam Ford , Pali =?iso-8859-1?Q?Roh=E1r?= , Sebastian Reichel , Tero Kristo , Tony Lindgren , Rob Herring , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hwrng: omap3-rom - Fix unused function warnings Message-ID: <20191101060722.56nbwi575qpzj65e@gondor.apana.org.au> References: <20191022142741.1794378-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191022142741.1794378-1-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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 > --- > drivers/char/hw_random/omap3-rom-rng.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt