Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1921047pxb; Fri, 5 Mar 2021 03:04:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmu2ywJinTc7nujs7rrmOHJyigGbWtWSRP79p6TcHXyZoGDuV0MP0YHwUs4XOwE/+xSdbr X-Received: by 2002:a17:906:384e:: with SMTP id w14mr1705216ejc.285.1614942282802; Fri, 05 Mar 2021 03:04:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614942282; cv=none; d=google.com; s=arc-20160816; b=teI/plD/UgcxQ2SaFleqEJIL+DnoK/PoHiYdjEzSpB3BcDRviPedK60sp853cYU4Pr 97wfUKFEKeNtvtedStnDTfFoLQPQ69TIo0BNP5Zy0FIhYqKAMNxMcUcmjwO09pwBgoyP GjNP754NR+5OpWfZYANULvf18tH/Kh6rFaGK1tfiSO/eytyv2QSxtloa270veMDqzjli vlQk9tqbpzbIOkMX4GfIKRUNuCOTxclTSFWZC83beylRizUrOEuBSBu6K7m0XKE6hm7t p4OVAEHJLRHEIxJZewGh/jFjPVYVR5fcnZQth9o9XSnVRDYVV5u0x98tKMk+Bv8quRF+ fwkg== 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 :message-id:date:subject:cc:to:from; bh=2otCP3VFIEitY6bwpKnzSM083Ev9s/G4WmZQgELrQcw=; b=kFToAYeT+IgmBDAj3SKwdS1HIuDVNxUVynj0Z4cGSMicZuRGKegxVvtZls7WZGyHp/ 60fX+GqIQPejP7vtI4ZBVQrFOibqo/xn2PGNttvRb3fmBV9F9G2tNJIviRwWCGkN4LA9 lstRxcIk6QVwEZH0JrW74cz4Wc0kEc6mVm9HbozBh/Tnk7iFjuuCu/uYAL0DVLWhOCNp Nm0rSvJXs3i7M8/vq5fsFM/nHtgqBOmJbLdS/ZeL/i+ToMuvOiXzuu1RPtHjoM43UkGP C8eQloogFKtzBkJENOUnPdy8hCkpHD9xQukQLf3xEMRvLY8QEcllTJAxh8yS//Gr4SlO yGww== 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 b15si1436991edz.247.2021.03.05.03.04.18; Fri, 05 Mar 2021 03:04:42 -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 S229631AbhCELDV (ORCPT + 99 others); Fri, 5 Mar 2021 06:03:21 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:13438 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbhCELC4 (ORCPT ); Fri, 5 Mar 2021 06:02:56 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DsPtX3GNgzjVcX; Fri, 5 Mar 2021 19:01:24 +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:40 +0800 From: Nanyong Sun To: , , CC: , , , , , Subject: [PATCH 0/9] riscv: misc cleanup Date: Fri, 5 Mar 2021 19:33:23 +0800 Message-ID: <20210305113332.428048-1-sunnanyong@huawei.com> X-Mailer: git-send-email 2.25.1 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 Fix some compilation warnings,improve code style Nanyong Sun (9): riscv: traps: Fix no prototype warnings riscv: irq: Fix no prototype warning riscv: sbi: Fix comment of __sbi_set_timer_v01 riscv: ptrace: Fix no prototype warnings riscv: time: Fix no prototype for time_init riscv: syscall_table: Reduce W=1 compilation warnings noise riscv: process: Fix no prototype for show_regs riscv: ftrace: Use ftrace_get_regs helper riscv: process: Fix no prototype for arch_dup_task_struct arch/riscv/include/asm/asm-prototypes.h | 16 ++++++++++++++++ arch/riscv/include/asm/irq.h | 2 ++ arch/riscv/include/asm/processor.h | 1 + arch/riscv/include/asm/ptrace.h | 5 +++++ arch/riscv/include/asm/timex.h | 2 ++ arch/riscv/kernel/Makefile | 1 + arch/riscv/kernel/probes/ftrace.c | 16 +++++++++------- arch/riscv/kernel/process.c | 1 + arch/riscv/kernel/sbi.c | 2 +- arch/riscv/kernel/time.c | 1 + arch/riscv/kernel/traps.c | 1 + 11 files changed, 40 insertions(+), 8 deletions(-) -- 2.25.1