Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp530654ybz; Fri, 17 Apr 2020 05:42:26 -0700 (PDT) X-Google-Smtp-Source: APiQypLl4ag5a46BDcLN85PCgjEdd6CEcQjA1Im5qTZnGuufg8u4iNUR819eZBeRp5ItgWtSFUAA X-Received: by 2002:a17:906:a39a:: with SMTP id k26mr2678453ejz.172.1587127345847; Fri, 17 Apr 2020 05:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587127345; cv=none; d=google.com; s=arc-20160816; b=vw7ZS9fFlqG34MioNXCh5NPejFk2gi2Ij38VkPjf6jVVDEpaIADmP5n8CjYFiH2a8R pbgXNtonKIpRslKt+K4vqJHVaNHc28gA8ckR6u4RTbfO3r5/Fhpg0nrpvwWYE7QzlKIv rXKhSevpVXlNeWRA1dfEbJzPwasIUEoLshP7bu08+dGq6TP+wZZZOMZPY1F2cTpDZ7E+ Bqo8PkykhfgSgB6lRRZGm6KJo7pQxDMU0UUtSta0X2psRvTuQiboxNBepUe/sPPyFYUs 9bkQIKbcFM9s2TLeqJt5VN3QTlyueFBtQxAYwzuZfH+VkSgE3gDm9A+a8WUnJalj0BQM /brw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Hw3zBq2iflGKeF6TIA06foptPhPCqmQ4gALSXVPDoYo=; b=A54Pr+CmeBa0GrpDgtJSxuODO/Iogy27Ac6s6ZXRzwkjNjRmCZA3gG8MjpQUV6bLmD M47vfSoZyYccYYlXt/CIHuEFohB7hyZWSzq5OdNuVRSeLRShjGBrrj+ZJQGpIOHzWMmJ 6twwGZ4k02cEPicu1/Gco0bqtefa4ukorzpxvMTBsn5xQf6wTCyPDO58kJwoGDnCqjL0 6wgp106ljcwHeHOYFs4/Ffv8MSoGQVKq0SauI1Cu/h9WTL+fEZLt0ID3nLKUNtbIp9i5 jQNuplpnTXG8E4h6NBkf6Y8lByAYut7kA5xPsPMzGYBFpi/AzY5DZyn/O84XOhzUcTGe t7ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=jJaoNQrE; 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 g9si6381145edu.268.2020.04.17.05.42.03; Fri, 17 Apr 2020 05:42:25 -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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=jJaoNQrE; 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 S1729668AbgDQMks (ORCPT + 99 others); Fri, 17 Apr 2020 08:40:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727897AbgDQMkr (ORCPT ); Fri, 17 Apr 2020 08:40:47 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37BBEC061A0C for ; Fri, 17 Apr 2020 05:40:47 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id k1so2889161wrx.4 for ; Fri, 17 Apr 2020 05:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hw3zBq2iflGKeF6TIA06foptPhPCqmQ4gALSXVPDoYo=; b=jJaoNQrEIBPf8c+ShjvPCVr441gyQQerRqJv93mnrEQA3Xj+pLqdOzATk/Rn2d6mM5 3QOcSW4fe/9UKaVuVYEHRDrU8RkNrG9QOrLRxAsWHkQQi2tSBQ13I+XF0EQBrqVA3bra sIKelGB72/XTdlKCQox25CECzSE17EDwMta1XSkH2DLt217o/7jDjJROmpFDxwtrWNRU vHF1nnsGUxzPphnUY7UhD+m7rnI2dyvzQLLjsrqI69ekVOfd3E2mdhSIIQIbXbKphLkq I9wQtMALwtQYIyiBTVn0d8qzFf20+E0n3CIBqQ4Ea2FXzt3wIoqvj5evJQ7B3R6Hcd/A QQjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hw3zBq2iflGKeF6TIA06foptPhPCqmQ4gALSXVPDoYo=; b=aoHJdxFfxzDq7VKnNJF3QpwHUBk9wp5yAX9rvyhA+vqHggN1RPJ1qo1bNDU1nBhfV0 8IE9Whet1aUZ5X4vlX7OsoM4ASzovkaB1wsTGa3uI4beT7gu1rJ0tmdesCq2mXpRx8ZJ 7T8Hhs6ZLodQK9Gmqdmb1vpDUbAiQkrUfc6VUw8AF0zfVg4Xxvm3ebtY9rys7JUc7/UO QAPdE491UlrM3ZEXugqMbmN6Rn9O1F8V+g4HIxih+oPNfbbdnhGP965MezGxHswsZGjo +D5ABDSs/hiBwv69MThmgKeFMX3aIwQ9h//jFzVHr6QD7mwIHp2185rXEaPRnYqoe5Sx wthg== X-Gm-Message-State: AGi0PuZV9G2jSubd2zIQdu7QrAnrM3c48YbKXh7G4LKLA1RHfm3z6rS2 wKy4husYwX5qLgT05wWZ51+oSLvYE5bbgRjDi9uS5w== X-Received: by 2002:adf:b35c:: with SMTP id k28mr3718749wrd.61.1587127244899; Fri, 17 Apr 2020 05:40:44 -0700 (PDT) MIME-Version: 1.0 References: <20200417121222.156422-1-wangkefeng.wang@huawei.com> In-Reply-To: <20200417121222.156422-1-wangkefeng.wang@huawei.com> From: Anup Patel Date: Fri, 17 Apr 2020 18:10:32 +0530 Message-ID: Subject: Re: [PATCH 1/3] riscv: sbi: Correct sbi_shutdown() and sbi_clear_ipi() export To: Kefeng Wang Cc: Atish Patra , Paul Walmsley , Palmer Dabbelt , Albert Ou , "linux-kernel@vger.kernel.org List" , linux-riscv Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 5:40 PM Kefeng Wang wrote: > > Fix incorrect EXPORT_SYMBOL(). > > Fixes: efca13989250 ("RISC-V: Introduce a new config for SBI v0.1") > Signed-off-by: Kefeng Wang > --- > arch/riscv/kernel/sbi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv/kernel/sbi.c b/arch/riscv/kernel/sbi.c > index 7c24da59bccf..62b10a16c8d7 100644 > --- a/arch/riscv/kernel/sbi.c > +++ b/arch/riscv/kernel/sbi.c > @@ -102,7 +102,7 @@ void sbi_shutdown(void) > { > sbi_ecall(SBI_EXT_0_1_SHUTDOWN, 0, 0, 0, 0, 0, 0, 0); > } > -EXPORT_SYMBOL(sbi_set_timer); > +EXPORT_SYMBOL(sbi_shutdown); > > /** > * sbi_clear_ipi() - Clear any pending IPIs for the calling hart. > @@ -113,7 +113,7 @@ void sbi_clear_ipi(void) > { > sbi_ecall(SBI_EXT_0_1_CLEAR_IPI, 0, 0, 0, 0, 0, 0, 0); > } > -EXPORT_SYMBOL(sbi_shutdown); > +EXPORT_SYMBOL(sbi_clear_ipi); > > /** > * sbi_set_timer_v01() - Program the timer for next timer event. > -- > 2.20.1 > Looks good to me. Reviewed-by: Anup Patel Regards, Anup