Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp826791ybk; Wed, 13 May 2020 14:16:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLiJTwrVE0qrv78ZaC0hbTaymPerCMqXrBHLoOvm2PBiXgMbCIvmfYu+YOtIFoQ1GMw/Il X-Received: by 2002:aa7:dd0a:: with SMTP id i10mr1366069edv.291.1589404594571; Wed, 13 May 2020 14:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589404594; cv=none; d=google.com; s=arc-20160816; b=Gpi6+SdsH9XWgj8qbR2Zl/3c4cxvfUvi5PDl/pW1mNDtdYP2v6zkTgXZ0JtGdCo+uK UUi6Vxlud/D7oYwDND1bvivjRVZgNDR9ymTBXoBZFLbAmqA++3ieejHIu3a/GWu66Ld3 qdcKc5uG2TrIUXdIEVEPBhA+EjBc7Z0vol8RbYXycBTQu0i3EMVSXu8AJJcCQ+3h3yUF 8ZD0NtnJ3dOCKjjuzq0HwMpU3L/omw7Beyldl7PBnFwVABnDM62rEEWlqixm5FB8PRkA 2Sz/i9GbHH4bBC7TczMa8qNI5xB4jZI+t57//fYKDEx257rMaIO+ZWAUdJPOoNCox5Cy y1vA== 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:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=EwdTVTg8mmRP5YtYCIIiQPIfSg8ie3bF4e/q64Mg9dM=; b=Y3b2AAWl9wy0MExumoByz012W1az1Bl1mVguor7wx0BPEOw/xrSa8O+Jb0XQX120Cz PcTqbMXxrPnhG9Gc12hHB+1da6TgJDUp67rh46If1RnFlS404bN/jc4/7Q3293G7U2Ea QfA95yI/PPnspnpXZEIptFY3lspfIA+Z8Qfv1bQyw5BuZmmyUFG3/jr43b9yJnHq3NAE XLL12ot+N59y6ruxLSfy7Rpg6U0DxqFnvoopywdN+4Wuv4mRIXDzQRcqL/AeuEJNUOv9 LhaAnA9trR2UVOkYJtEPC+/XDmwPyHouP6hL20WvwFTYdbAtWsUS+dnhdOVbtqE3jHf+ 464g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=ELWbTBQY; 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 ca25si459929edb.389.2020.05.13.14.16.12; Wed, 13 May 2020 14:16:34 -0700 (PDT) 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; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=ELWbTBQY; 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 S1728366AbgEMVOu (ORCPT + 99 others); Wed, 13 May 2020 17:14:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726145AbgEMVOs (ORCPT ); Wed, 13 May 2020 17:14:48 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52CBAC061A0C for ; Wed, 13 May 2020 14:14:48 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id k7so6640452pjs.5 for ; Wed, 13 May 2020 14:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=EwdTVTg8mmRP5YtYCIIiQPIfSg8ie3bF4e/q64Mg9dM=; b=ELWbTBQYMw1XvDvuC2Kn+oknCOCk7pbhM1B7YzVDAwNi0aBs1VuOsZ+Lj2NrjCP/aq UfBUveSRhhzDGbCeDorUGAHsKfupE5Auv/hlDq20Xxi/Hw3K6Cp87zJMfwJPjk7exZog XtBvEIqd5heS6wyuxnHMr3YL4f2RGstprKzDmZZurxc6J4C9j4nKx/KPBn9Rg1bk8TOH v/d/6N1NOlmgRbHNiOvUAXDVtyFKH9CnQCm1U3fLMNk4hDVVh8vYHOHaQqyM9NNVszCZ l1u4Ov4Uz7XlrZH3vd5S8OAM35vwJk9cpeZumO4lGNtIXxalUQ9IXZmSGwpdxmY/3YLP TJ0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=EwdTVTg8mmRP5YtYCIIiQPIfSg8ie3bF4e/q64Mg9dM=; b=RYjIMLFQ/42O73WMy5/B9JTwCXzlAhjy9zcRpY0wZ3JilEGupWaSYFU+wCRkoykMHU qhd4pI7Uv2C4lwOGJP4KYMQ8H4rJPcASBQwErWLwJvxOS3XBvP/4tlRJoeQ9J9HZOvQu eRsRCnj4lAoiQCTcbgCCyrNMIXAnWguY20gnCPkh4SLntsiIhpEVeo+vbnSyTZKqAMnI Rtjm2L4lIf1bqc5QtmaG0sSotEfSxwCLf69sWx77N/NgQ0NQYNq3aMXN5+iosBKrvkNH TMtkSqmEuKIn+r+7mD8lCGHskOM6heACENMyKpfo6Q64U/qiBJLjffeNV3bUJ4xl2wuW WKxg== X-Gm-Message-State: AOAM533gjKq0QQTbpg1nnnEAkhXn2UrVV1oCB6AHHS6EF+M4zcdojHg5 Vkh2RIoavb5ucvMX7MvKLa2sGQ== X-Received: by 2002:a17:902:bb86:: with SMTP id m6mr970708pls.341.1589404487623; Wed, 13 May 2020 14:14:47 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id n4sm410257pfq.127.2020.05.13.14.14.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 14:14:47 -0700 (PDT) Date: Wed, 13 May 2020 14:14:47 -0700 (PDT) X-Google-Original-Date: Tue, 12 May 2020 17:44:25 PDT (-0700) Subject: Re: [PATCH 09/10] timer-riscv: Fix undefined riscv_time_val In-Reply-To: <20200511022001.179767-10-wangkefeng.wang@huawei.com> CC: Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, wangkefeng.wang@huawei.com, hulkci@huawei.com From: Palmer Dabbelt To: wangkefeng.wang@huawei.com, daniel.lezcano@linaro.org, tglx@linutronix.de Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 10 May 2020 19:20:00 PDT (-0700), wangkefeng.wang@huawei.com wrote: > ERROR: modpost: "riscv_time_val" [crypto/tcrypt.ko] undefined! > > Reported-by: Hulk Robot > Signed-off-by: Kefeng Wang > --- > drivers/clocksource/timer-riscv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clocksource/timer-riscv.c b/drivers/clocksource/timer-riscv.c > index c4f15c4068c0..071b8c144027 100644 > --- a/drivers/clocksource/timer-riscv.c > +++ b/drivers/clocksource/timer-riscv.c > @@ -19,6 +19,7 @@ > > u64 __iomem *riscv_time_cmp; > u64 __iomem *riscv_time_val; > +EXPORT_SYMBOL(riscv_time_val); > > static inline void mmio_set_timer(u64 val) > { Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt Adding the clocksource maintainers. Let me know if you want this through my tree, I'm assuming you want it through your tree. Thanks!