Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1921041pxb; Fri, 5 Mar 2021 03:04:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxN3rodQ7EefmjTKYEFxB5pzP/vzM+Hl0DTKZDU0WC3jmp4FRa01DT4o78cX7eCsPP6j7f9 X-Received: by 2002:a17:907:2093:: with SMTP id pv19mr1800205ejb.134.1614942282405; 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=EWG6SdaVlGhyI1CVPQ5rrEY+HZ7/OhoZIFOwGgw7amAaeHMYVw662ZJb1RalbMxkw4 ZjiZYICP6frSkGtdANgQYZIolcvEtKkFkOU8ZzbYnicoAOmdY7e0lzITA3jztrsNNNg8 VHSU7RTGS5KFXavuiKj1tzUo1xRA6zlVX4kmjkHd6zSixPjkN5OX41p2OgYw/e60SJhT 39tl+AUZgBOGtJ4SMkMBWJrZ2ATMTJNVqIy30qJ+mEvTA70MkEIB3D/2uip98ng4vXGk HK+ForH6EG+Xbiqt309g09KI8WJ8UnD8tdaM2CK3gl9j8JO3+WbkL1oPV5UDTk+sYVii O3zA== 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=Th786pMU583qa7572LDvyFs2VEcuORxS6gMd7c8fR9M=; b=KmDqxJXnXbxD+UhcmhoyRl80abx0nz3YVizqHIKZTRlXUuute3EbGlzj8Vs3krkl4H hjiNcNtMNGgpSYmtw1TcKRE82ju62ZtZHeYNc6j25HW11jyU1PtmYzHPdD/EmhmrA8pX 14VYOMkhDSrPm0UCv3RKWGSMVN/p8133Q254mcTl9MfsDYWAfLnPdZvPS9EWZgPQOKGg 8VYjKuUNUreTXvbXDZ0YS7B+uVnRArJWfsUgAqpkqNuEKlr2Rqq/5Yy/nn2Kk8+1KEV/ ccx2IOs9pVnVrYnYamN//Aco/ZMQUzk+wWTIh58e3/5025QK5w6UUo+cMcctZSnnn0Cl +dcQ== 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 rs13si1162893ejb.31.2021.03.05.03.04.19; 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 S229723AbhCELDX (ORCPT + 99 others); Fri, 5 Mar 2021 06:03:23 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:13439 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbhCELC4 (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 4DsPtX3YVwzjVjV; 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:42 +0800 From: Nanyong Sun To: , , CC: , , , , , Subject: [PATCH 2/9] riscv: irq: Fix no prototype warning Date: Fri, 5 Mar 2021 19:33:25 +0800 Message-ID: <20210305113332.428048-3-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 Fix the following W=1 kernel compilation warning: arch/riscv/kernel/irq.c:19:13: warning: no previous prototype for ‘init_IRQ’ [-Wmissing-prototypes] 19 | void __init init_IRQ(void) | ^~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Nanyong Sun --- arch/riscv/include/asm/irq.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/include/asm/irq.h b/arch/riscv/include/asm/irq.h index 9807ad164015..e4c435509983 100644 --- a/arch/riscv/include/asm/irq.h +++ b/arch/riscv/include/asm/irq.h @@ -12,4 +12,6 @@ #include +extern void __init init_IRQ(void); + #endif /* _ASM_RISCV_IRQ_H */ -- 2.25.1