From patchwork Sat Feb 6 13:36:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12072149 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=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, 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 54A71C433DB for ; Sat, 6 Feb 2021 13:37:35 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 1568A64D9D for ; Sat, 6 Feb 2021 13:37:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1568A64D9D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=174DEVNo0Op1g5CqAcEU5RjBwAtR11TCzCDdbfwAxI8=; b=nchZHNhJc0xhOXUyzvwxd1aPWD D71/cgylGOHInUn8N1Rlvyv60xEIu2yuW/dbofD159MM+oqRLQhVc0Z8OOtU7jIGgSbIGTViuY2E+ iV9OrSGUrsjqN5ckBbD4qERenhBccf9umqM2mrhSoKjbsLd6tjA/I05ZBA6H8BrfQ48GYMu8MdX7h z0WZiXaNbEKDsEdaCRzC/+8LTHWXNl35nP14hsMFGd6VJWLPAqZ4/z2qB4JGc4JslI052xHUuUrpF fJLSLB2KGl72G7wY2+URFNK77LtF7B2KwxzzWZRV+clZxEi9gX5dM3Qsbza+dVY56KXUV4Ho8oTUx EASV4EXA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8NlE-0003k5-Pa; Sat, 06 Feb 2021 13:36:28 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8NlC-0003jP-Kk for linux-arm-kernel@lists.infradead.org; Sat, 06 Feb 2021 13:36:27 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 992EF64D9D; Sat, 6 Feb 2021 13:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612618585; bh=OCutRLaQDUvL3uLcorCbLXFfU+phdrBOkd6W0QNIyHU=; h=From:To:Cc:Subject:Date:From; b=Gjy7LkMwkG2XjFdp4fJH1gwZ7U6oWqDAMR7x7fSTXwIR81QloVBam/e76tvJeOdij t6XKWFE6fRcH1m1kgVAqK9AfTycrmk6NFRVRgyJUSpp6aBBlFEQfJyv4pDEyGbqj/G zmCj8ir/h3UJKxCGAViokpx4Jlj8HsFpscLfEnrTYrJy+W9rTCTwRcW0c6wYDR1Sff /LS5aQJkjuGCowUmRyD//uF5Ro/78c31q1Lm7ARsPH9ab9QYjaxc5sWPntM54kngcX 3zfR/71fUrRYRNqNQx35HM4VEboHt5AFOQkBHmov7uPfqzQ0mXyTcCeDm7KPzSib3R MSEfF4+FonUaQ== From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: s3c: irq-s3c24xx: include headers for missing declarations Date: Sat, 6 Feb 2021 14:36:14 +0100 Message-Id: <20210206133615.119804-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210206_083626_745522_F3F22561 X-CRM114-Status: GOOD ( 11.01 ) 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: kernel test robot , Arnd Bergmann Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Include headers to fix W=1 build warnings: arch/arm/mach-s3c/irq-s3c24xx.c:389:5: warning: no previous prototype for ‘s3c24xx_set_fiq’ [-Wmissing-prototypes] arch/arm/mach-s3c/irq-s3c24xx.c:683:13: warning: no previous prototype for ‘s3c2410_init_irq’ [-Wmissing-prototypes] Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c/irq-s3c24xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-s3c/irq-s3c24xx.c b/arch/arm/mach-s3c/irq-s3c24xx.c index 79b5f19af7a5..3368159d3f3e 100644 --- a/arch/arm/mach-s3c/irq-s3c24xx.c +++ b/arch/arm/mach-s3c/irq-s3c24xx.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -32,6 +33,7 @@ #include "cpu.h" #include "regs-irqtype.h" #include "pm.h" +#include "s3c24xx.h" #define S3C_IRQTYPE_NONE 0 #define S3C_IRQTYPE_EINT 1 From patchwork Sat Feb 6 13:36:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12072151 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=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, 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 7746EC433E0 for ; Sat, 6 Feb 2021 13:37:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 4014664E53 for ; Sat, 6 Feb 2021 13:37:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4014664E53 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=BZ0G/TJWgQKIbiJOrbd+yANCA3Hoq5czpGwF+ayPS+s=; b=tGQAyQU85v5CD0Lw3j2Ww7p0C 4lFM6CE/zvKJdOplRa/hz9wIuv/dmWe0AYF8cs8AlZlN09C8Wx2y4n3FXdU48ssldSDujxlJXyeAz +N3yvQsyt70QYuqtQfkSYW0o4Cqb+oKKY5sQcjlQkrIwE/PEiSazLnPaBp9vrbpYmNDWCKs9TPecn qa7lM5ovbKSwUobfINsuKvDE++2whQd4CHzNCmFrPzlb2G5KkTLSVfKHJpdMV86lF9fBq7F2W0FVk Mxf5Vu3va9sHsXoMwIO/oucXT/vRCdOSRJjnD8fvrS2b+w3awx+ivaTmah8f7OY0zKBK74dJkEUAd d/7uq2R+A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8NlH-0003kS-Rh; Sat, 06 Feb 2021 13:36:31 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8NlE-0003jq-Bd for linux-arm-kernel@lists.infradead.org; Sat, 06 Feb 2021 13:36:29 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 168E664E5A; Sat, 6 Feb 2021 13:36:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612618587; bh=QmVWEQOUXt2bamsSz0cwns6rsPRXjXQ96AsKqzzL0wQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=urc64lztlr/us+84S4/hx9RT3/9nkkDTVWaIUCNijunHpiWGuqHNfJqWXo1Aa03K2 4slFJajVMMXuvdCDbMCPwFOBbTgX+Cg2s/nFQyRU2eQwxGEw3vjj4RV6Luv+v4NiaK yoG+OZEKiPglWLwFwCgcysP7/0lMSEiHYjV+azuUD9ZPolV3/nKy6Uc9kljzqWLdEw aa/6Zv2fCMNb3uH0E5uvnCtwJzTdZPAmB8ozCEEA3M+/gbfnMfpBVxphft2RxWmNwg hlhHHQ+LoxG2jxG2H4sQJjWyYNZN39pFaqUn5ePrQmLMXa4BvG4klPjiTH7gCVtRHy 7icHk5/hn0dAA== From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: s3c: irq-s3c24xx: staticize local functions Date: Sat, 6 Feb 2021 14:36:15 +0100 Message-Id: <20210206133615.119804-2-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210206133615.119804-1-krzk@kernel.org> References: <20210206133615.119804-1-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210206_083628_465819_4919BE22 X-CRM114-Status: GOOD ( 11.77 ) 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: kernel test robot , Arnd Bergmann Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Make functions used only in this module static to fix W=1 build warnings: arch/arm/mach-s3c/irq-s3c24xx.c:360:39: warning: no previous prototype for ‘s3c24xx_handle_irq’ [-Wmissing-prototypes] arch/arm/mach-s3c/irq-s3c24xx.c:1308:12: warning: no previous prototype for ‘s3c2410_init_intc_of’ [-Wmissing-prototypes] arch/arm/mach-s3c/irq-s3c24xx.c:1330:12: warning: no previous prototype for ‘s3c2416_init_intc_of’ [-Wmissing-prototypes] Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c/irq-s3c24xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c/irq-s3c24xx.c b/arch/arm/mach-s3c/irq-s3c24xx.c index 3368159d3f3e..0c631c14a817 100644 --- a/arch/arm/mach-s3c/irq-s3c24xx.c +++ b/arch/arm/mach-s3c/irq-s3c24xx.c @@ -359,7 +359,7 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, return true; } -asmlinkage void __exception_irq_entry s3c24xx_handle_irq(struct pt_regs *regs) +static asmlinkage void __exception_irq_entry s3c24xx_handle_irq(struct pt_regs *regs) { do { if (likely(s3c_intc[0])) @@ -1307,7 +1307,7 @@ static struct s3c24xx_irq_of_ctrl s3c2410_ctrl[] = { } }; -int __init s3c2410_init_intc_of(struct device_node *np, +static int __init s3c2410_init_intc_of(struct device_node *np, struct device_node *interrupt_parent) { return s3c_init_intc_of(np, interrupt_parent, @@ -1329,7 +1329,7 @@ static struct s3c24xx_irq_of_ctrl s3c2416_ctrl[] = { } }; -int __init s3c2416_init_intc_of(struct device_node *np, +static int __init s3c2416_init_intc_of(struct device_node *np, struct device_node *interrupt_parent) { return s3c_init_intc_of(np, interrupt_parent,