From patchwork Thu Jul 21 21:17:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 12925787 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E6C0DC43334 for ; Thu, 21 Jul 2022 21:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zILXN86pzNxW5iM6uGwpU70MIKU/EiD7q7hyi+1M+FA=; b=slYD/VIPAN5ZHQ /i4pDzTZvaBTha0nhac/ObGd+iJZkKZzrvL0kmBk/1BRtqz8yHzCXGVgR3OrUlXMUeHL1ONs+UxCI +zF1FQOFndjFyv1Wzi575bwo9s3hAaaif8dsE78ywEgy6JcHZlkV4y3TYCDuf2uERBxdj2lPkLOYL FWzTnmEaLhtOk3dFiivUN0HQ90Y/L1S0Lg1RFkwYFPTApbj54JAEJGo2ZrFVfZspJRXQE+Fuy2Rqt X7GBsH3TFZk8cQGgDNohdvh1Y0Ly9VAewe2nkGR8mcD27zQf0w+5g1S7r3IAPEuv7g948S86oWjY9 9xJF9HdRjCkGNq8oPJMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEdYL-00COKq-Vo; Thu, 21 Jul 2022 21:17:50 +0000 Received: from cpc152649-stkp13-2-0-cust121.10-2.cable.virginm.net ([86.15.83.122] helo=luna) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEdY9-00COFT-U9 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 21:17:39 +0000 Received: from ben by luna with local (Exim 4.96) (envelope-from ) id 1oEdY2-001tWU-2x; Thu, 21 Jul 2022 22:17:30 +0100 From: Ben Dooks To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux@armlinux.org.uk, Ben Dooks Subject: [PATCH 3/3] arm: fix undeclared soft_restart Date: Thu, 21 Jul 2022 22:17:29 +0100 Message-Id: <20220721211729.451731-4-ben-linux@fluff.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220721211729.451731-1-ben-linux@fluff.org> References: <20220721211729.451731-1-ben-linux@fluff.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_141737_994107_F773E8A9 X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The soft_restart() is declared in so include that to fix the following sparse warning: arch/arm/kernel/reboot.c:78:6: warning: symbol 'soft_restart' was not declared. Should it be static? Signed-off-by: Ben Dooks --- arch/arm/kernel/reboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c index 2cb943422554..3f0d5c3dae11 100644 --- a/arch/arm/kernel/reboot.c +++ b/arch/arm/kernel/reboot.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "reboot.h"