From patchwork Tue Oct 8 12:34:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179537 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 47DAA15AB for ; Tue, 8 Oct 2019 12:36:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 19A35206B6 for ; Tue, 8 Oct 2019 12:36:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qK/mkBn4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19A35206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dFAkGnYJPU6azDPn4kdsmkADBy7tmF8tmiim/i8EY+U=; b=qK/mkBn4ocaY1F +SKsy6fapwQ2Xwe2kpdK4I7RLfyPmI8AZhX3wND3lrcQPMpNDfWsnEP5W5+o0i2G8MDAYNtdyCkMP fHpW0EL/pm4KWZeBL32DgPVDHhsKkxs8fuNAqlb2rQZhFRleBMmo5nXdMCPBd2iFq0D63iAPEQCta 7ZGerCmoJHI9GfE/SRRIsHjegWIMwwrcUAxx+F4sVSUB5EEUUkYVzc1ELxY1RjEhdC/ppW3NyTFrA 7i5HnIayC9TlLo6Ea+l6Z2d6GsAvE53BBuJE3U0uAlRirR/RsZudgTi9xNat5Kx2t1WeC7Gy5pQjN zesl1hIKKIM0ZZW0G7OQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHoiv-0001oa-Jb; Tue, 08 Oct 2019 12:36:17 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007rP-EJ for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:35:00 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013M-L0; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHohZ-0000RO-PS; Tue, 08 Oct 2019 13:34:53 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/11] ARM: bcm2836: include local platsmp.h for bcm2836_smp_ops Date: Tue, 8 Oct 2019 13:34:43 +0100 Message-Id: <20191008123453.1651-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_647982_6826E83B X-CRM114-Status: GOOD ( 10.54 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Florian Fainelli , Scott Branden , Ray Jui , Ben Dooks , bcm-kernel-feedback-list@broadcom.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Include platsmp.h for the definition of bcm2836_smp_ops to fix the following warning: arch/arm/mach-bcm/platsmp.c:334:29: warning: symbol 'bcm2836_smp_ops' was not declared. Should it be static? Signed-off-by: Ben Dooks Acked-by: Scott Branden --- Cc: Florian Fainelli Cc: Ray Jui Cc: Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com --- arch/arm/mach-bcm/platsmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-bcm/platsmp.c b/arch/arm/mach-bcm/platsmp.c index 47f8053d0240..21400b3fa5fe 100644 --- a/arch/arm/mach-bcm/platsmp.c +++ b/arch/arm/mach-bcm/platsmp.c @@ -22,6 +22,8 @@ #include #include +#include "platsmp.h" + /* Size of mapped Cortex A9 SCU address space */ #define CORTEX_A9_SCU_SIZE 0x58 From patchwork Tue Oct 8 12:34:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179531 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0EBB15AB for ; Tue, 8 Oct 2019 12:35:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7BF8420679 for ; Tue, 8 Oct 2019 12:35:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IW0ShSqx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BF8420679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0dSPkEfFWMIVNGfBtCiAHj4FIrbdTh3rhaNticFLhVY=; b=IW0ShSqxFvf8qj 06gnjiaTRbKWaxfkckfG+idVecIAhI+sZ595hZrQ6ioiiBKOzLHPZr6xiZyLhpouvtkAryT8MQtMp e+D07XIs1SItfhbBAvO8ay4NJCL+//40zfu3oiQ/er4cPjxr0xaGgZ5BL3y39QYvkrfRLvQ+EuY0g zNzckjqVSaEtk1qSeHbYiDrZTGvO4bxWb2eytXdXmHGxnJbE/x4UEtNnbJIHyuVEnJ3ktoRNLhFqF PBxg9CJUFBAHcHw9JDVM8jnqbwwB5Qq/F5et+bqVl0QPx9gpgkLNsqVVlu9+FQRLziv0thWr1Mmv7 sCi2rTVQWBUZ2bd9CJJg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHoiC-00014i-EH; Tue, 08 Oct 2019 12:35:32 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007rI-6T for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:34:58 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013L-II; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHohZ-0000RQ-QQ; Tue, 08 Oct 2019 13:34:53 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/11] ARM: bcm: fix missing __iomem in bcm_kona_smc.c Date: Tue, 8 Oct 2019 13:34:44 +0100 Message-Id: <20191008123453.1651-2-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_403519_48A66E1F X-CRM114-Status: GOOD ( 13.27 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Florian Fainelli , Scott Branden , Ray Jui , Ben Dooks , bcm-kernel-feedback-list@broadcom.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fix the following sparse warnings from a missing __iomem in __bcm_kona_smc() function by adding __iomem attriubte. arch/arm/mach-bcm/bcm_kona_smc.c:143:21: warning: incorrect type in initializer (different address spaces) arch/arm/mach-bcm/bcm_kona_smc.c:143:21: expected unsigned int [usertype] *args arch/arm/mach-bcm/bcm_kona_smc.c:143:21: got void [noderef] *static [toplevel] [assigned] bcm_smc _buffer arch/arm/mach-bcm/bcm_kona_smc.c:149:9: warning: incorrect type in argument 2 (different address spaces) arch/arm/mach-bcm/bcm_kona_smc.c:149:9: expected void volatile [noderef] *addr arch/arm/mach-bcm/bcm_kona_smc.c:149:9: got unsigned int [usertype] * arch/arm/mach-bcm/bcm_kona_smc.c:150:9: warning: incorrect type in argument 2 (different address spaces) arch/arm/mach-bcm/bcm_kona_smc.c:150:9: expected void volatile [noderef] *addr arch/arm/mach-bcm/bcm_kona_smc.c:150:9: got unsigned int [usertype] * arch/arm/mach-bcm/bcm_kona_smc.c:151:9: warning: incorrect type in argument 2 (different address spaces) arch/arm/mach-bcm/bcm_kona_smc.c:151:9: expected void volatile [noderef] *addr arch/arm/mach-bcm/bcm_kona_smc.c:151:9: got unsigned int [usertype] * arch/arm/mach-bcm/bcm_kona_smc.c:152:9: warning: incorrect type in argument 2 (different address spaces) arch/arm/mach-bcm/bcm_kona_smc.c:152:9: expected void volatile [noderef] *addr arch/arm/mach-bcm/bcm_kona_smc.c:152:9: got unsigned int [usertype] *[assigned] args Signed-off-by: Ben Dooks Acked-by: Scott Branden --- Cc: Florian Fainelli Cc: Ray Jui Cc: Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com --- arch/arm/mach-bcm/bcm_kona_smc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-bcm/bcm_kona_smc.c b/arch/arm/mach-bcm/bcm_kona_smc.c index 541e850a736c..43a16f922b53 100644 --- a/arch/arm/mach-bcm/bcm_kona_smc.c +++ b/arch/arm/mach-bcm/bcm_kona_smc.c @@ -140,7 +140,7 @@ static int bcm_kona_do_smc(u32 service_id, u32 buffer_phys) static void __bcm_kona_smc(void *info) { struct bcm_kona_smc_data *data = info; - u32 *args = bcm_smc_buffer; + u32 __iomem *args = bcm_smc_buffer; BUG_ON(smp_processor_id() != 0); BUG_ON(!args); From patchwork Tue Oct 8 12:34:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179533 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CA12215AB for ; Tue, 8 Oct 2019 12:35:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A784320679 for ; Tue, 8 Oct 2019 12:35:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XyD9k16Y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A784320679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=E7ipZBGXN4RYF+PS5/jXXcT3svaiY7HLcxPC6XvY8dk=; b=XyD9k16Y670wj4 i+2G4KDE7h+4l1mhJ3HHt1nSvFudq1m2eFU+ovIQKt8ogvJVGVyZC/mAt9yOVrnGKcQJbwAldAi6M chkI5fyrvx/mbpXNqMR6Ibr45elqK7Ame6SrIWWIja4gt0+SE8oAv7KsjirR+mAdYYQcWdViNpv2B U6zb7q7L8JrJ4TOJTnbPWL9vT/V1pOUNQ5UFEF0U1KrMGNneK7IS7FgX1HLeww3pIXdFusEcKplbe RS528AiVg5l7bJnzlKZkmyfsmEvXMALbzm55Tg2s5RU+n0rSLTaxnOPsQ5NEvXbTWtTtZGkmDqUZR 8kXh6MgVjEGNqSgAXIfA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHoiO-0001I6-RQ; Tue, 08 Oct 2019 12:35:44 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007r4-2F for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:34:57 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013K-8h; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHohZ-0000RS-RN; Tue, 08 Oct 2019 13:34:53 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/11] ARM: highbank: include local core.h for highbank_pm_init Date: Tue, 8 Oct 2019 13:34:45 +0100 Message-Id: <20191008123453.1651-3-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_271096_8D5A34BE X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Rob Herring , Ben Dooks Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fix missing declaration of highbank_pm_init by including core.h. arch/arm/mach-highbank/pm.c:43:13: warning: symbol 'highbank_pm_init' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Rob Herring --- arch/arm/mach-highbank/pm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-highbank/pm.c b/arch/arm/mach-highbank/pm.c index 561941baeda9..3fdbdb83113b 100644 --- a/arch/arm/mach-highbank/pm.c +++ b/arch/arm/mach-highbank/pm.c @@ -12,6 +12,8 @@ #include +#include "core.h" + #define HIGHBANK_SUSPEND_PARAM \ ((0 << PSCI_0_2_POWER_STATE_ID_SHIFT) | \ (1 << PSCI_0_2_POWER_STATE_AFFL_SHIFT) | \ From patchwork Tue Oct 8 12:34:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179545 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 897981862 for ; Tue, 8 Oct 2019 12:37:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5FD0D20815 for ; Tue, 8 Oct 2019 12:37:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YGfxGQhC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5FD0D20815 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TE7qOjnzbVHZWsuvmPjdZouqj4/WGF1fuGi8sUJm6tM=; b=YGfxGQhCSa6WpD uxKzLCzpsaHNAjzGEEgOWzF7VzBr8DBCQiJC0NL+Ya7xEmA/k+q5ZHFwFqvVOsYaP0R8HoF4Nnt7t QPJ77dqwg4SMRrS07h9J/6gXVy409wP8NiKFzVfx5dVh4A5Q5Htno4xJMsXC54zlBE2+9X6HlkMyZ buL1V0gcPEwBDtslmsgiZT+kHP5ui8UbeSqnBqZsJ8oYQjbOBbR3z0lPPulyYmJw+WaAkgHFIPTMV po3Y52OpR1PCD/1k3peuL+o3o8A1C2J502fD+Ve63fw3gRiJq3UvM8+0TqTtcerQp876+M1JQptgL jH4iFaY/10jnGnfwSSHg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHojt-0002ll-08; Tue, 08 Oct 2019 12:37:17 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007rn-HV; Tue, 08 Oct 2019 12:35:00 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013N-DU; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHohZ-0000RU-Sn; Tue, 08 Oct 2019 13:34:53 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/11] ARM: meson: use NULL instead of 0 for pointer Date: Tue, 8 Oct 2019 13:34:46 +0100 Message-Id: <20191008123453.1651-4-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_758217_03B64F35 X-CRM114-Status: GOOD ( 10.48 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Kevin Hilman , Ben Dooks , linux-amlogic@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fix the second argument of of_get_cpu_node which is a pointer being passed a plain 0 by using NULL instead. Fixes the following warning: arch/arm/mach-meson/platsmp.c:40:55: warning: Using plain integer as NULL pointer Signed-off-by: Ben Dooks --- CC: Kevin Hilman CC: linux-amlogic@lists.infradead.org --- arch/arm/mach-meson/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-meson/platsmp.c b/arch/arm/mach-meson/platsmp.c index 4b8ad728bb42..f992c436d3ed 100644 --- a/arch/arm/mach-meson/platsmp.c +++ b/arch/arm/mach-meson/platsmp.c @@ -37,7 +37,7 @@ static struct regmap *pmu; static struct reset_control *meson_smp_get_core_reset(int cpu) { - struct device_node *np = of_get_cpu_node(cpu, 0); + struct device_node *np = of_get_cpu_node(cpu, NULL); return of_reset_control_get_exclusive(np, NULL); } From patchwork Tue Oct 8 12:34:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179541 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5453414DB for ; Tue, 8 Oct 2019 12:36:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 325CE2070B for ; Tue, 8 Oct 2019 12:36:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UqONrbHF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 325CE2070B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=l49lw1gcpAfS+8D+0GPkNK1DFiOtyL/viafaxk5bTKM=; b=UqONrbHFvvHKtv okhKyEqTgRloyTL+5QNLDx6osaqMfxRPKBOkU9pDU/uZmU9h8Njjukz8l5JIjGSJMILwhzeC8e5Qm TvqL4MCfQQx7hvf/dbugYrwgtjbyEeTgTZGAjkPhSzlsMSAIYZhUVBzCMPvKqUyM889uxXZAy5X1b m5C7RB3Pch/T5hvLl/VsyYthLDmu0E+Hygdd+P/hGcYXWPKTSYElJ5Abjau0IrpJ5Oy5Ya+wstGhN I3vcVI8OBoReqE93iF/Hy8V1UgfVExFm5Jg2hkzHDNIZ6C2VYs9FxxDMEQi94bz7Zr8DQGAyMmftj jw2xtkprzBwFnlExgWMg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHojQ-0002JJ-OK; Tue, 08 Oct 2019 12:36:48 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007rp-K4; Tue, 08 Oct 2019 12:35:00 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013O-Lv; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHohZ-0000RW-UL; Tue, 08 Oct 2019 13:34:53 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/11] arm: mediatek: force type of mtk_smp_base Date: Tue, 8 Oct 2019 13:34:47 +0100 Message-Id: <20191008123453.1651-5-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_823500_91CC2FEA X-CRM114-Status: GOOD ( 11.91 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Matthias Brugger , Ben Dooks , linux-mediatek@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org In __mtk_smp_prepare_cpus force the return of phys_to_virt() to have __iomem on it to avoid the following sparse warning: arch/arm/mach-mediatek/platsmp.c:105:30: warning: incorrect type in assignment (different address spaces) arch/arm/mach-mediatek/platsmp.c:105:30: expected void [noderef] *static [toplevel] mtk_smp_base arch/arm/mach-mediatek/platsmp.c:105:30: got void * Signed-off-by: Ben Dooks --- Cc: Matthias Brugger Cc: linux-mediatek@lists.infradead.org --- arch/arm/mach-mediatek/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c index 16a4ee6c9590..3717b960618d 100644 --- a/arch/arm/mach-mediatek/platsmp.c +++ b/arch/arm/mach-mediatek/platsmp.c @@ -102,7 +102,7 @@ static void __init __mtk_smp_prepare_cpus(unsigned int max_cpus, int trustzone) if (trustzone) { /* smp_base(trustzone-bootinfo) is reserved by device tree */ - mtk_smp_base = phys_to_virt(mtk_smp_info->smp_base); + mtk_smp_base = (void __force __iomem *)phys_to_virt(mtk_smp_info->smp_base); } else { mtk_smp_base = ioremap(mtk_smp_info->smp_base, MTK_SMP_REG_SIZE); if (!mtk_smp_base) { From patchwork Tue Oct 8 12:34:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179551 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8BFC115AB for ; Tue, 8 Oct 2019 12:38:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 69F602070B for ; Tue, 8 Oct 2019 12:38:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="V+7ei1I4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69F602070B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SXr/7ZYP+6lQnUR3qw/irzD3wmQyy+AQPZBEx9gKE1o=; b=V+7ei1I4Y+bFUE /wv8IU8Duf8ILfGTWKumht+tDzgU75xQkvL7mqf7WJWPkDhUoWMJ3QI7vPhKbQNoc7blUMrQuaghW tq2ZxfDg47XqCN2bN2DxgmSADmbiC+W3EN00BADI9zgo0+/0EM23qwZY9cov21nHy0GnUfwoLFoNu qClduqnV1vTS7XkHVXSyiU1Oppkma3aK0emFeLP7534jwr6zIewdsD4c08cz/jfKQJEXdDsRBsQrn 4S2lhrWXzuEtHNeE9tRZRDdflP6o82g5J5f/QbqJxh8rXUcA40ULcln96xdMm82EQAkADsfelsd4+ M3ZOUWa1DbEbI0RLmLzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHokZ-0003Rc-MP; Tue, 08 Oct 2019 12:37:59 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007ry-SP for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:35:01 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013P-Ne; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHohZ-0000Rc-VG; Tue, 08 Oct 2019 13:34:53 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/11] ARM: OMAP2+: do not export am43xx_control functions Date: Tue, 8 Oct 2019 13:34:48 +0100 Message-Id: <20191008123453.1651-6-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053457_090067_96B3E66B X-CRM114-Status: GOOD ( 10.26 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Tony Lindgren , linux-omap@vger.kernel.org, Ben Dooks Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Do not export am43xx_control_{save,restore}_context to avoid the foloowing warnings: arch/arm/mach-omap2/control.c:687:6: warning: symbol 'am43xx_control_save_context' was not declared. Should it be static? arch/arm/mach-omap2/control.c:701:6: warning: symbol 'am43xx_control_restore_context' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Tony Lindgren Cc: linux-omap@vger.kernel.org --- arch/arm/mach-omap2/control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index c84b5e260617..73338cf80d76 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c @@ -684,7 +684,7 @@ static u32 am33xx_control_vals[ARRAY_SIZE(am43xx_control_reg_offsets)]; * * Save the wkup domain registers */ -void am43xx_control_save_context(void) +static void am43xx_control_save_context(void) { int i; @@ -698,7 +698,7 @@ void am43xx_control_save_context(void) * * Restore the wkup domain registers */ -void am43xx_control_restore_context(void) +static void am43xx_control_restore_context(void) { int i; From patchwork Tue Oct 8 12:34:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179543 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A67615AB for ; Tue, 8 Oct 2019 12:37:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 13F29206B6 for ; Tue, 8 Oct 2019 12:37:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rz6nSSCa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13F29206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Lq8e+6MTss33cCNkfDAFA8kV9pMuPRFETlgJJEagfVY=; b=rz6nSSCaUnOzWw 6kalcun6XD32uGylNysaUR+RC+5cFoIZXSOQwYSV/4Cg/MtnpQ8M2misq98WOwZv3RQdxyTHNonmB sTXlMH2qYxgfWW9cgTu0ZBCDAUanqFEQTOPjIJAM/Q6ywfY51kI/WtHc08jcaCpsXWCiBC7FZ2Q5d 5qq8WyqF/yP6uX7aJ3C7KcBoYaIyay26NRbiWX8yLynepq99AzzVUinvAeZhPV4ygTalJzQMpdCE9 g6NJUGWnMUy1FNezQKhT6GQQwaOau0VuKymgkT9XsxPPNymM3rcWn3azMzlANCdxBIkAyrN+iWAyy W19S+Lz6JM7ut9suSYKw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHojb-0002UW-Hn; Tue, 08 Oct 2019 12:36:59 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007s2-Of for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:35:01 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013Q-Mn; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHohZ-0000Rf-W9; Tue, 08 Oct 2019 13:34:54 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/11] ARM: OMAP2+: prm44xx: make prm_{save, restore}_context static Date: Tue, 8 Oct 2019 13:34:49 +0100 Message-Id: <20191008123453.1651-7-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_957037_F0F4C078 X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Tony Lindgren , linux-omap@vger.kernel.org, Ben Dooks Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The prm_{save,restore}_context functions are not exported so make them static to avoid the following warnings: arch/arm/mach-omap2/prm44xx.c:748:6: warning: symbol 'prm_save_context' was not declared. Should it be static? arch/arm/mach-omap2/prm44xx.c:759:6: warning: symbol 'prm_restore_context' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: linux-omap@vger.kernel.org Cc: Tony Lindgren --- arch/arm/mach-omap2/prm44xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index 1d9346f2a4ae..25093c1e5b9a 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c @@ -745,7 +745,7 @@ struct pwrdm_ops omap4_pwrdm_operations = { static int omap44xx_prm_late_init(void); -void prm_save_context(void) +static void prm_save_context(void) { omap_prm_context.irq_enable = omap4_prm_read_inst_reg(AM43XX_PRM_OCP_SOCKET_INST, @@ -756,7 +756,7 @@ void prm_save_context(void) omap4_prcm_irq_setup.pm_ctrl); } -void prm_restore_context(void) +static void prm_restore_context(void) { omap4_prm_write_inst_reg(omap_prm_context.irq_enable, OMAP4430_PRM_OCP_SOCKET_INST, From patchwork Tue Oct 8 12:34:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179535 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 39AC715AB for ; Tue, 8 Oct 2019 12:36:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 17C9420679 for ; Tue, 8 Oct 2019 12:36:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WVNpC0iP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17C9420679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lFVJJk78nieztufpYo6YWqPnt+lwB23zfLD75M5z7qE=; b=WVNpC0iPzHZ7Eq LzY2SkkQnWCCqTBeRhSIc8fIdHnib/UwiSxU3C38HFpAciqbSmGfnvIGwUjLsGy7j7kgAsxlderkK mFoWv0S1ccod0mYB3OCFptvZN9EnfY5gy6mqIGEYsOqirZhy/+tpFYlsmPX6xJ03d1Ls4tTcjXqsc 1HdnJohK2K6L45/mZMIlmPdwO1myffqZHa4CLH+fdtN6JM+rZZGB1QUlb7z/Rxrn6fUJfLJsdnwQ5 jRrDy9MEyCMFw3og34fdZfuJmZXidmZfNPLbDiUsX+sjFExfAVTY8jYL+RCwwS5LmEvGBsRm+lZi1 1Ppfm4Q/wysQhftngxIQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHoig-0001Zw-5K; Tue, 08 Oct 2019 12:36:02 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007rW-Bv for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:34:59 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013R-OW; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHoha-0000Ri-0o; Tue, 08 Oct 2019 13:34:54 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/11] ARM: mach-prima2: include common.h for sirfsoc_pm_init Date: Tue, 8 Oct 2019 13:34:50 +0100 Message-Id: <20191008123453.1651-8-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_575171_1012B8A5 X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Barry Song , Ben Dooks Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Include the common.h header for the definition of sirfsoc_pm_init to avoid the following warning: arch/arm/mach-prima2/pm.c:147:12: warning: symbol 'sirfsoc_pm_init' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Barry Song --- arch/arm/mach-prima2/pm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-prima2/pm.c b/arch/arm/mach-prima2/pm.c index c24bc89f320b..f31e3b6b9e00 100644 --- a/arch/arm/mach-prima2/pm.c +++ b/arch/arm/mach-prima2/pm.c @@ -19,6 +19,7 @@ #include #include +#include "common.h" #include "pm.h" /* From patchwork Tue Oct 8 12:34:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179539 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B604514DB for ; Tue, 8 Oct 2019 12:36:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 943D12070B for ; Tue, 8 Oct 2019 12:36:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dQ+3OsDj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 943D12070B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CL3k9d0QgkroKVcwwtkQPbJf4kRtXCNe18jHdddEYHw=; b=dQ+3OsDjTw57A/ 0g2KZh+U7s0BRZb0HGjcxmFY90xK+mL3l074om+Rsf5E/INPGogPKTYyEbOg6XSBfKWc1QpyoJ0sv gJbGTMSGRy75fzFWP5wrAWRfbNWK2kEhPfITBv7ENRaxDpdbEdd+mYWPbD6iXu9avqMokkykB0neo YjEAVaFRMj4E/ydfDQ0nn2yo9M7Ou2hYt2/8cpa2SF7iRv8RJnuCLY9jBskJkx1EYQyvHKUSweXvs 91eWzlkuVuYIfmFGLWQmbe4Tqx3MUOL9z23J9CyXU6DQsiYVsi8fbE55ZwzcAbMeiUGDGj/sheZnf FKQwYXpmPHLA57VcaBZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHoj8-000237-Ua; Tue, 08 Oct 2019 12:36:30 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohc-0007rc-H9 for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:35:00 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013S-RG; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHoha-0000Rl-1k; Tue, 08 Oct 2019 13:34:54 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/11] ARM: mach-prima2: make sirfsoc_rtc_iobrg_wait_sync static Date: Tue, 8 Oct 2019 13:34:51 +0100 Message-Id: <20191008123453.1651-9-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053456_742008_9967ECD1 X-CRM114-Status: GOOD ( 11.93 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Ben Dooks Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The sirfsoc_rtc_iobrg_wait_sync is not used outside of this file so make it static to avoid the following warning: arch/arm/mach-prima2/rtciobrg.c:34:6: warning: symbol 'sirfsoc_rtc_iobrg_wait_sync' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Barry Song X-Patchwork-Id: 11179547 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74E2815AB for ; Tue, 8 Oct 2019 12:37:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D3B7206B6 for ; Tue, 8 Oct 2019 12:37:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W8X+lweD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D3B7206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S0sPaRw5UOb1Y6lc635qR4gQGK1OLhe7bLDWYGmETcI=; b=W8X+lweDlnHWMX Qf5BZRf/vB73ny3TcUtSkgMkxDYfSYXuprzHJyutDFVN3h0klpIS+dCtspu7LdaAnfmP0iGnqMfzV El31vh+Mt3owMZ/InvJkotRSqDH+Q/BLvRQNJvZd4zLKNXMKOSvM4IkrYemGJ6Q5kIaGHLZ3hIVbY Wi+gmzlGbxUXw3XmgPuXYf8MJ4cD/C9TxHquitBBFuxd6lPkC2+ajeQrluVs7WTwzz4QBvLe/czgU CrKlO0T4NNcbEdr3JVdgarFA6MFsegIq0A6HYigBrAdUo+Ua/ugVuIuELgU7OuvT5exl19TJqzDuZ oxRHfa93M+yqinRMeTqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHok4-0002xY-Ne; Tue, 08 Oct 2019 12:37:28 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohd-0007s3-07 for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:35:01 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHoha-00013T-S9; Tue, 08 Oct 2019 13:34:54 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHoha-0000Ro-2j; Tue, 08 Oct 2019 13:34:54 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/11] ARM: mach-prima2: include linux/rtc/sirfsoc_rtciobrg.h Date: Tue, 8 Oct 2019 13:34:52 +0100 Message-Id: <20191008123453.1651-10-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053457_216565_62532E07 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Barry Song , Ben Dooks Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A numbre of the rtciobrg.c functions are declared in the so include it to silence the following warnings: arch/arm/mach-prima2/rtciobrg.c:40:6: warning: symbol 'sirfsoc_rtc_iobrg_besyncing' was not declared. Should it be static? arch/arm/mach-prima2/rtciobrg.c:65:5: warning: symbol 'sirfsoc_rtc_iobrg_readl' was not declared. Should it be static? arch/arm/mach-prima2/rtciobrg.c:90:6: warning: symbol 'sirfsoc_rtc_iobrg_writel' was not declared. Should it be static? arch/arm/mach-prima2/rtciobrg.c:137:15: warning: symbol 'devm_regmap_init_iobg' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Barry Song --- arch/arm/mach-prima2/rtciobrg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-prima2/rtciobrg.c b/arch/arm/mach-prima2/rtciobrg.c index f5177219732a..ba6aee0aadce 100644 --- a/arch/arm/mach-prima2/rtciobrg.c +++ b/arch/arm/mach-prima2/rtciobrg.c @@ -15,6 +15,8 @@ #include #include +#include + #define SIRFSOC_CPUIOBRG_CTRL 0x00 #define SIRFSOC_CPUIOBRG_WRBE 0x04 #define SIRFSOC_CPUIOBRG_ADDR 0x08 From patchwork Tue Oct 8 12:34:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179549 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95A7D15AB for ; Tue, 8 Oct 2019 12:37:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 73A7C206B6 for ; Tue, 8 Oct 2019 12:37:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qbnf644j" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73A7C206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f1VSvWY7OR7vNP8Z/FZvy2LmgQUciTOUs2ztSqkG0OQ=; b=qbnf644jJcuFTq Ohav1alaf8B+SWwRELdHvOoQ4Cqijb7WJpgSA4usWr+hLlS83g6Z5qTO3x9RIkKyOo9klnjepIEge HvbPP55T1BLAw+/Itg60K7k+2OrmNHRJi5GEiZTdQMUTSur+OwzQ4jHOek9/FbaWnjEoqI4uLT6YH D4j9uHqqXi9aU1aann6YuAyLwC2C/bF5LwJPydv8LRehsc2qC6ovEVjfCv5640J2R/Xj3C/dMwIWL b6JS+3PI+I6fZ7GAD6s3DRw098yHXzry7NplW6N4uSrtux9T4l7aOA71zhmKnQTrZ6tkOau0ZSupG LymQHZHmQXUQtMkpPDWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHokM-0003Dk-PH; Tue, 08 Oct 2019 12:37:46 +0000 Received: from imap1.codethink.co.uk ([176.9.8.82]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHohe-0007vW-KF for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:35:02 +0000 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHohd-00013K-1K; Tue, 08 Oct 2019 13:34:57 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHoha-0000Rr-3d; Tue, 08 Oct 2019 13:34:54 +0100 From: Ben Dooks To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/11] ARM: ux500: make ux500_cpu_die static Date: Tue, 8 Oct 2019 13:34:53 +0100 Message-Id: <20191008123453.1651-11-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008123453.1651-1-ben.dooks@codethink.co.uk> References: <20191008123453.1651-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053458_835495_4F14319B X-CRM114-Status: GOOD ( 11.54 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [176.9.8.82 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@lists.codethink.co.uk, Linus Walleij , Ben Dooks Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The ux500_cpu_die function is not exported so make it static to avoid the following warning: arch/arm/mach-ux500/platsmp.c:89:6: warning: symbol 'ux500_cpu_die' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Linus Walleij --- arch/arm/mach-ux500/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 0810f3abd810..415d8ad2a3c1 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c @@ -86,7 +86,7 @@ static int ux500_boot_secondary(unsigned int cpu, struct task_struct *idle) } #ifdef CONFIG_HOTPLUG_CPU -void ux500_cpu_die(unsigned int cpu) +static void ux500_cpu_die(unsigned int cpu) { wfi(); }