Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp725281ybj; Thu, 7 May 2020 06:18:47 -0700 (PDT) X-Google-Smtp-Source: APiQypJ2oxvk4N3RRyzDbkDHmoD34exbp9dupTPL9YbIZgvcxCDZWfRu6v6CfDHBkT+Yw4y5es/t X-Received: by 2002:a50:9b53:: with SMTP id a19mr12165592edj.104.1588857526933; Thu, 07 May 2020 06:18:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588857526; cv=none; d=google.com; s=arc-20160816; b=XcsfuQCEL59kXihU4qHDCqimR1/J7gP3iaktmcnK2tJf0fj7CZZgdwU/s4ALWauLTF /uSJjwsxo5O8AoosIj92+60MRDQAiw1FAwREqnzfr2l4gMBJY+KDlmG7fgHdnSBkc/X1 3NYXgrqsBPkScWuhOXsDcm/CPx2LX2C3Fm/MkmMFi8QtAVcih7kFZAzue8EbiKmP+6uX LsH07su3mAU9LGAxBmnIQs3D0F3xRCBkB2YkHgDyCpJS9IT08hIz6qiWwkx+g0YhH0R0 Rs3s+xSU6eemiw9aXFvKKMgF4tiqQcwktUACKA1DOCYOgE4PovrKZDt2S1vYSvnN/E2K BvzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=aaEpYa065ypq35Huryl6ZF1r6VEE/Q7MGgbAu3JxSwc=; b=0zEqWyha18KVd/t4ZbzSXe8ERaTkXftbOQ2AAzDL71VqcZ5IN0tqHYIZ3xVC4ph+2A tGmMx0wgL6g+mW1hzP8jHywFntbxuKbRdbEJCSD5sukKKC8pVRBOlEUDckxMH/UhoKBu xqwbxjraqRXnaNcLv2E3u0CU4U6Oek0gWgXwFwYQr6vp+V+z35TkicSLR8K/EjCfvGTW nyCH76sbPYz4YC5NB9lyGDQ9vk+Ngr+JO1dTALsIff/aRkOLlAG5Px7fHrWDFM5PrE2l 9z2RFrC1mqbF/e3hn4mt4E6G8VqvmUcKZdDrYlctyGnqEzzn/Z3UEZgghqVQ2uvhr7kj jPcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ThIIrlsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si3555821edn.261.2020.05.07.06.18.19; Thu, 07 May 2020 06:18:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ThIIrlsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726495AbgEGNQn (ORCPT + 99 others); Thu, 7 May 2020 09:16:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725948AbgEGNQn (ORCPT ); Thu, 7 May 2020 09:16:43 -0400 Received: from mail-vk1-xa43.google.com (mail-vk1-xa43.google.com [IPv6:2607:f8b0:4864:20::a43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E949C05BD43 for ; Thu, 7 May 2020 06:16:41 -0700 (PDT) Received: by mail-vk1-xa43.google.com with SMTP id f7so1472059vkl.6 for ; Thu, 07 May 2020 06:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aaEpYa065ypq35Huryl6ZF1r6VEE/Q7MGgbAu3JxSwc=; b=ThIIrlsUJAwhILFtB9W6ItdrMa51xrL79/VcpF9V+fVwinQVuierFP9YGkui0E51AG MNBHQbKmN8BblzRTnkoChsCjmAGWLXCniUBKIAiC08+XNh4ukMUOQ1VUz7NJ1nz8ULK6 0OuGzBWj1TUygr93F+Ts39jQIWDbwUCA0oigDafhNXTHG4xua/Jo4ajv/YJmQ9LkjFyM vKrL/YLtz2Qeo1m3Zjj8B0lOkUHTVEdU5ysKAk31NZjrv3Fa60YrxPjDfivsG5OXII/p CkJibs3Okh5v1+t8YP7PffYMi2hhnu/osVW8YoMQTbZEEsxTGqSFSBErV7tv7KRB7dIA ml0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aaEpYa065ypq35Huryl6ZF1r6VEE/Q7MGgbAu3JxSwc=; b=GiiUxiu6k829hDCjcuX8KL2UsWNf9/qJEc/UYzdTA68pkOsY8ofLCtI6FSYhNkH0g4 K5sD+2Wl1+85ItUGYFaneY2dEUV+d+cdoQUY0MiJvl8dsbm2mkG6G6l+KpLSTVDNfAa6 7TZ4CjrZH6ZJ44gY/mXEnscBUNUADJMsMVsBVFiKIxuYgkf7xKQrQSwHU3lx9DHssj8l JU4t1Z+Cacr8l3nys/ir5kjIazWEjikIuMnmuUBUCx/CacxAcIvXH4+zNlFYfnDQRFrJ PHzIlr8fyfbzDIE8n1dP1h2CAPopbvUgUiZcQ2cuoXKgkSW41iZ679H4hMxdOYYxL5cf DBdQ== X-Gm-Message-State: AGi0PuZpk7oEpwZbBx47yBXrr6rdXFi0BZworJU0yY9yPv3OBqU0O1P8 j/0N1GrVGXO08jGxF7tHwijK+KzuCEKTRRFD4MNlMg== X-Received: by 2002:a1f:4845:: with SMTP id v66mr1168633vka.43.1588857400648; Thu, 07 May 2020 06:16:40 -0700 (PDT) MIME-Version: 1.0 References: <1588854050-19161-1-git-send-email-zou_wei@huawei.com> In-Reply-To: <1588854050-19161-1-git-send-email-zou_wei@huawei.com> From: Ulf Hansson Date: Thu, 7 May 2020 15:16:04 +0200 Message-ID: Subject: Re: [PATCH -next] mmc: sdhci-pci-gli: Make sdhci_pci_gli_resume static To: Samuel Zou Cc: Adrian Hunter , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 May 2020 at 14:14, Samuel Zou wrote: > > Fix the following sparse warning: > > drivers/mmc/host/sdhci-pci-gli.c:343:5: warning: > symbol 'sdhci_pci_gli_resume' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou This actually fixes a commit that I on my fixes branch, which is also targeted for stable. Therefore, I decided to squash this into the offending commit and adding your sob tag, with a note about what you fixed. Kind regards Uffe > --- > drivers/mmc/host/sdhci-pci-gli.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci-pci-gli.c b/drivers/mmc/host/sdhci-pci-gli.c > index bdb6336..fd76aa6 100644 > --- a/drivers/mmc/host/sdhci-pci-gli.c > +++ b/drivers/mmc/host/sdhci-pci-gli.c > @@ -340,7 +340,7 @@ static u32 sdhci_gl9750_readl(struct sdhci_host *host, int reg) > } > > #ifdef CONFIG_PM_SLEEP > -int sdhci_pci_gli_resume(struct sdhci_pci_chip *chip) > +static int sdhci_pci_gli_resume(struct sdhci_pci_chip *chip) > { > struct sdhci_pci_slot *slot = chip->slots[0]; > > -- > 2.6.2 >