Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1921074pxb; Fri, 5 Mar 2021 03:04:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJydkYTldpy2r2LhApcIQCniHi7gbpkjRT4rh3izl7A1HJpDeYobyhEZJFvs3iQJqzdSP/KZ X-Received: by 2002:a17:906:3b84:: with SMTP id u4mr1700526ejf.431.1614942284548; Fri, 05 Mar 2021 03:04:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614942284; cv=none; d=google.com; s=arc-20160816; b=EJH7N8DY5UgU9Gt4+hxFI/WuMUd2Z2fcP56lFVO0StCEr5Tiwia1SoC3j7kX8y8GQb XcInV9LWVcYP/JSBGbfAuTGdDjrnn80AbAUbJNrXUqARpXEO1g3xZsAU2hezygX8d/yh 4275OcfIL+8n6J7ZtIIMOeN1uYAJpy0qSIH8b9qhTkf8fVXxGcmwDiWSoGbcHSTmxSq1 ZmZgBoqRD+twwvV/KnRpEZiTFVMAbuI9pGuC5ARXN97YczYHs4etZb4Aw/9J013YCTTK wA5342N3xD6rkO00xXdLBPFMZGV4hRk551/KVmd76whiURB4PGE9iw9lZMVqN4cRFt63 cGkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4RIebr8+78RAlmy1Zh4U7un9vFEtYceHPdY06XqIu1Y=; b=sEl8dxvmjFg+xESEDcFBRiy2dA6tx5vkg9acyKa5Hjh7NF4J2xMACquy6N0D6VsRvP 1SMjYiVO0KC+mOj6V2ypwsz1rx5U18o70Bi8XOPTlf2ArWgkxomD1/hjq/vRfL38z5jT getgjl41QYk2/dWphPQ8Vu6QIbEm6A1FKsnalPZcC9GJn8gP8AiJHTKr1iUlpweKL0M2 NDjUGpEI84VSe/MvKGIosjTIoFCkp5+resDvUwpe6MduFU3z2h55rDtKnm5HKO49Vg8X LMqsJ725kfH14vejx0cseKkum4wKkBbNB1Xp9b7BnubosJCt/ny7+wgORwymp3ydZUDm 8U5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si1410099edr.483.2021.03.05.03.04.21; Fri, 05 Mar 2021 03:04:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbhCELD1 (ORCPT + 99 others); Fri, 5 Mar 2021 06:03:27 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:13067 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbhCELC4 (ORCPT ); Fri, 5 Mar 2021 06:02:56 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DsPsl07MxzMjRg; Fri, 5 Mar 2021 19:00:43 +0800 (CST) Received: from huawei.com (10.175.113.32) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.498.0; Fri, 5 Mar 2021 19:02:45 +0800 From: Nanyong Sun To: , , CC: , , , , , Subject: [PATCH 7/9] riscv: process: Fix no prototype for show_regs Date: Fri, 5 Mar 2021 19:33:30 +0800 Message-ID: <20210305113332.428048-8-sunnanyong@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210305113332.428048-1-sunnanyong@huawei.com> References: <20210305113332.428048-1-sunnanyong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.113.32] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include header file to fix the following W=1 compilation warning: arch/riscv/kernel/process.c:78:6: warning: no previous prototype for ‘show_regs’ [-Wmissing-prototypes] 78 | void show_regs(struct pt_regs *regs) | ^~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Nanyong Sun --- arch/riscv/kernel/process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/kernel/process.c b/arch/riscv/kernel/process.c index 6f728e731bed..f9cd57c9c67d 100644 --- a/arch/riscv/kernel/process.c +++ b/arch/riscv/kernel/process.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include -- 2.25.1