From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECABDC433E7 for ; Mon, 19 Oct 2020 16:00:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5801C22284 for ; Mon, 19 Oct 2020 16:00:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="0DsTqLN/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5801C22284 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BACF96B0062; Mon, 19 Oct 2020 12:00:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B34706B0068; Mon, 19 Oct 2020 12:00:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9D8046B006E; Mon, 19 Oct 2020 12:00:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0130.hostedemail.com [216.40.44.130]) by kanga.kvack.org (Postfix) with ESMTP id 660866B0062 for ; Mon, 19 Oct 2020 12:00:12 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id EF4511EE6 for ; Mon, 19 Oct 2020 16:00:11 +0000 (UTC) X-FDA: 77389136622.30.offer44_3015c9627238 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin30.hostedemail.com (Postfix) with ESMTP id 9174C180B44A0 for ; Mon, 19 Oct 2020 16:00:01 +0000 (UTC) X-HE-Tag: offer44_3015c9627238 X-Filterd-Recvd-Size: 2342 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Mon, 19 Oct 2020 16:00:01 +0000 (UTC) Received: from localhost.localdomain (unknown [194.230.155.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0564922283; Mon, 19 Oct 2020 15:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603123200; bh=74gScxROzXVRQQgGZLhzzit9KPSYZrzEyqfBjkTFQ1s=; h=From:To:Cc:Subject:Date:From; b=0DsTqLN/LzHqTFqRVlwIRJMEizvXtH/vexrm0vxIAozaHcthOty9ebaedleZ9Rngr zQMidbyYzkDOkhBas77QzvBsVk2fZpwQuZVjIj5hkUbJO4e8Fp6zmMJZAO49T8ISyo b9PHWyZv7K7wuWADg2ehBThajuRqzdT0qJZvSnN8= From: Krzysztof Kozlowski To: Vinod Koul , Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Andrew Morton , Linux Memory Management List , Geert Uytterhoeven , Arnd Bergmann , Krzysztof Kozlowski , kernel test robot Subject: [PATCH 1/2] dmaengine: ppc4xx: make ppc440spe_adma_chan_list static Date: Mon, 19 Oct 2020 17:57:55 +0200 Message-Id: <20201019155756.21445-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: The ppc440spe_adma_chan_list file-scope variable is not used outside of the unit so it can be made static. Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski --- drivers/dma/ppc4xx/adma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c index 71cdaaa8134c..fea598550582 100644 --- a/drivers/dma/ppc4xx/adma.c +++ b/drivers/dma/ppc4xx/adma.c @@ -69,7 +69,7 @@ struct ppc_dma_chan_ref { }; =20 /* The list of channels exported by ppc440spe ADMA */ -struct list_head +static struct list_head ppc440spe_adma_chan_list =3D LIST_HEAD_INIT(ppc440spe_adma_chan_list); =20 /* This flag is set when want to refetch the xor chain in the interrupt --=20 2.25.1