Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp489466imu; Thu, 8 Nov 2018 11:07:44 -0800 (PST) X-Google-Smtp-Source: AJdET5cHPHsj8VQcjZkqo+7T0MJmrVf2UZKSdDD6XDFXuZfKa78dzVgebx+M3rbPVlIBo0SEJse1 X-Received: by 2002:a63:170c:: with SMTP id x12mr4633094pgl.364.1541704064272; Thu, 08 Nov 2018 11:07:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541704064; cv=none; d=google.com; s=arc-20160816; b=S4CR/+0C1I5j/FUdE5nMm58Yia6jTZPjIK4b0WOKamiWfZtzXPGh2olghYWkXm/wOI kp7ogjFEHDPotxJQ4+WfwKRz5zSSJmhSWgsG0e5zjS7ju1jCVwThf7zRFP7p3f7Gbw42 2h2eK01/zNHZc90ioXZN3WQqUdesL8hqt1wgENI9vbTPpHXu7WYrqGu8tReuic55GhXc LIAkhHF5zdfSYAspixxqYULtuI1Oo466Gj63mqQHka4CNp6u9ASWGweZNx3MlHJkoj8o uf+rlOcK0hQ7D3rzjEEXyKhOmw0Z2J8hsxQ4aG2o/xzLBzZM8GXDJPYpvwcWAp++wVLN Dmhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tHsK0hhrKmdeeb3ghMdlBw0MAo3rlZFjyqHNm6Q0ZR0=; b=zVZI8SG1XAgXDEG7dIWvR/8SWwpcbVjR9CiQLfVE63Um9sqfGs9knEBAY3yo77IwYg rw+JhsHZNH7CtQP9hRg5V0nT+9LZFEtXRW6UoCdYWqiWzRtV1ssYUw+Uf+551cst+joB kZYtXWQZaIMmoY+p/GXmdS3lwKTW9mKX1+MD02n7AkUU5VnRw8i7aeCwo+yMA+LX6BP+ 8ZA15sdjp8BKvwMnGNHFtx0sVpZYi2dVtGuh0/TSPFGeeQFtHAEVCgnE8srio40Gembd ND0Sed+FQM/NeUCbiVBDYaTBnIW1m93M0/NXXRbQc74E7Ajl3FXLjBc2UUCHW38KT5lf XSjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rpXVov7h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 193si4605951pgc.220.2018.11.08.11.07.28; Thu, 08 Nov 2018 11:07:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rpXVov7h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727213AbeKIEn4 (ORCPT + 99 others); Thu, 8 Nov 2018 23:43:56 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:32897 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726845AbeKIEnz (ORCPT ); Thu, 8 Nov 2018 23:43:55 -0500 Received: by mail-wr1-f67.google.com with SMTP id u9-v6so12091984wrr.0 for ; Thu, 08 Nov 2018 11:07:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tHsK0hhrKmdeeb3ghMdlBw0MAo3rlZFjyqHNm6Q0ZR0=; b=rpXVov7hv6/psus9dpe+GRQrRwrJI6lSNw64tpPO97PeC/DUs5VBDTUMFjmHJ131Pg oJVFCkIuAhOqE3RrExVlvVZsqpZlyrcCpJ7yJNgbNccOBbRT622zi5K1BDnxKyyzrYrT 9Kqy/LMqJxqq+5F7DLPi3DGnVAtlHRjr6A9AKH283vEu2qMwgkIz2Ah4uyQc7lvv8Jc+ LXlmlv/yqQe/25jHzYhiI3UbQqRpHMK+kRbNn7vDzW5aYL6tD+T5TrKKbWSHcXJiLZyS 74xhdl4xx0JRuEGP9mBPF3hW3JDRumRo+lC5kCL3uWdaTt9FV3kEemo4BGFZmXcUxPGb HC3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tHsK0hhrKmdeeb3ghMdlBw0MAo3rlZFjyqHNm6Q0ZR0=; b=alXC97JjpAG3ZqimezcWXTEomzxsXSbe7Ll/vbpQp++G+G+AMZwrS01azsnHzXgMqb 2UvUSOp/lbbDJN1oUS9b5HKwY0XOEYNjY2cKYXiIQu+iOj/Cq6Hket+7qxZ/xjMpf5ac HfoHJY9o4wFMY4R6B9iqRtZ0js2fRMJlM+BNi98bD4CycXhxcvjsgR5DDlGO0gkRHyXr b4E2gMgHpQekHrp4U69Wxi9G2axdcdALOFYVBaxGGFWixywtOtvMGo9ZCyb6182tKPet WX0P7O+uktkSPsOAhlsCq7qj7Ine8Xd41udwhT52aTPbY5tIrF+0H1isCYKql8xMp46J 8/dA== X-Gm-Message-State: AGRZ1gKDCMO/dfsNwuq+OgNzdqqqD1FYXGwayTDgqOn6L1Cy2UaDmrcd 9HN5GP/bp8kvaNwG3IH2CvU= X-Received: by 2002:a5d:664e:: with SMTP id f14-v6mr5398407wrw.218.1541704023838; Thu, 08 Nov 2018 11:07:03 -0800 (PST) Received: from localhost.localdomain (ip-76.net-89-3-178.rev.numericable.fr. [89.3.178.76]) by smtp.gmail.com with ESMTPSA id e14-v6sm3010547wrv.93.2018.11.08.11.07.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 11:07:03 -0800 (PST) From: David Abdurachmanov To: palmer@sifive.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: David Abdurachmanov Subject: [PATCH] riscv: fix warning in arch/riscv/include/asm/module.h Date: Thu, 8 Nov 2018 20:07:00 +0100 Message-Id: <20181108190700.30825-1-david.abdurachmanov@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration Signed-off-by: David Abdurachmanov --- arch/riscv/include/asm/module.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/include/asm/module.h b/arch/riscv/include/asm/module.h index 349df33808c4..cd2af4b013e3 100644 --- a/arch/riscv/include/asm/module.h +++ b/arch/riscv/include/asm/module.h @@ -8,6 +8,7 @@ #define MODULE_ARCH_VERMAGIC "riscv" +struct module; u64 module_emit_got_entry(struct module *mod, u64 val); u64 module_emit_plt_entry(struct module *mod, u64 val); -- 2.19.1