From patchwork Mon Oct 19 15:57:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11844659 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 A21F9C433E7 for ; Mon, 19 Oct 2020 16:00:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3CEAD22284 for ; Mon, 19 Oct 2020 16:00:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603123201; bh=74gScxROzXVRQQgGZLhzzit9KPSYZrzEyqfBjkTFQ1s=; h=From:To:Cc:Subject:Date:List-ID:From; b=pj6niKDKsbfEy9ehnW7enf8LdG9TZ14/eK0EfJvQeRBkRV7edQZRNm5e1WvL1dmp3 zXyp4EIutkiP9ocw5UKcUhTDaR65XLib186e0+MMTYbdQlzGmz0LetwE8C3L3NaugE FF245g1NeofEM/qGmJNtNty4cJhD1Z5UCmoXIqiw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730479AbgJSQAA (ORCPT ); Mon, 19 Oct 2020 12:00:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:38668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730475AbgJSQAA (ORCPT ); Mon, 19 Oct 2020 12:00:00 -0400 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 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org 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 { }; /* The list of channels exported by ppc440spe ADMA */ -struct list_head +static struct list_head ppc440spe_adma_chan_list = LIST_HEAD_INIT(ppc440spe_adma_chan_list); /* This flag is set when want to refetch the xor chain in the interrupt