Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp546240pxt; Thu, 12 Aug 2021 04:32:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2XRLWtv+K2kDsPeVFb1YKlB699+/mL2Z2LfU55eUjasOKqxnNSjwfA+Z+9E6Fe85qAbUl X-Received: by 2002:a17:906:49d5:: with SMTP id w21mr3142408ejv.30.1628767924643; Thu, 12 Aug 2021 04:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628767924; cv=none; d=google.com; s=arc-20160816; b=Uao8nxhfj9Y1DvKsFJl7weX+HX3JAsaiybEa9qLppY8du/aMQSjsnhcudDA/rVK+3f ZfwGU1PlOqjNHrRiUO0TEomRTePqVkRtL9+cJPbVl4+fQOY2T6+a3woRHsXqPaFSwJrZ 3g2eLGUsWtMKuigzaGsvbgGsG4QlInapdcYnVs6iqbTvriV+KdutI+mt/oNuIPB42yRz qRaTaLvjpyJFg0tbYo/GWvUFecXw6gDvZolcMWE4UQ/aCeq4LM2jgXvY7w3K3z5vEw3c ZtibZM28u2/K2UOXQMzU46aNb4T6CMWT2baYP3/VbUr1sJ4/GDF0MzBSs4jU4kVLw+2u Bx0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=9J9rkl1dJvS11El8u8mdxkc2uHElwzJTguidzPbO3Ow=; b=hjC8L9VJhNPn5/kY4MaQw6ExypWgrxYTrbRqy9yMcWk3hYHOhNASvcPps8qfCD4N7x clv6jgpltQiWILKqzBVm9Zbbc0kzIB2Bs9F6edboFmqw8wu58LUs7y5PpyYTUjersWnW b6ERlIla8FNy+VPeYzaXUAZ9Mf+FYCsY1Gsn1sbVQJqsf/+mgeH+gwRBkTmBJKejrIB0 yqAuUfWffvkcS6Up4hYVSs7kCwJAD8VOfCg6nyYuJwXoCAhRFim3GTxzbyuSwTL7ae1S oeIq6SgRYbskBtZZqDm1RJ4vz+TuF+eMF8GmF4RHtDB0hG7TyR830dGEOWc8cZFGf895 cDIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si2468865edw.210.2021.08.12.04.31.24; Thu, 12 Aug 2021 04:32:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbhHLLbj (ORCPT + 99 others); Thu, 12 Aug 2021 07:31:39 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:52730 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232025AbhHLLbi (ORCPT ); Thu, 12 Aug 2021 07:31:38 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1mE8vY-0003Kl-NN; Thu, 12 Aug 2021 19:31:12 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1mE8vV-0002NX-R2; Thu, 12 Aug 2021 19:31:09 +0800 Date: Thu, 12 Aug 2021 19:31:09 +0800 From: Herbert Xu To: Weili Qian Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, wangzhou1@hisilicon.com, liulongfang@huawei.com Subject: Re: [PATCH 3/5] crypto: hisilicon - support runtime PM for accelerator device Message-ID: <20210812113109.GA9121@gondor.apana.org.au> References: <1628332356-33278-1-git-send-email-qianweili@huawei.com> <1628332356-33278-4-git-send-email-qianweili@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1628332356-33278-4-git-send-email-qianweili@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sat, Aug 07, 2021 at 06:32:34PM +0800, Weili Qian wrote: > > @@ -1083,6 +1105,10 @@ static void hpre_remove(struct pci_dev *pdev) > hisi_qm_uninit(qm); > } > > +const struct dev_pm_ops hpre_pm_ops = { > + SET_RUNTIME_PM_OPS(hisi_qm_suspend, hisi_qm_resume, NULL) > +}; > + This causes a warning as it should be static. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt