Message ID | 20230118121426.492864-10-cristian.marussi@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2319158wrn; Wed, 18 Jan 2023 04:54:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXvIUgcnlKb88IyAjlidUOXIu2RykRqq0eiCXYu7RTDyBljCO0u7BvIMVCQQdTOS6JA1VhEP X-Received: by 2002:a17:90a:b798:b0:229:d641:9ef2 with SMTP id m24-20020a17090ab79800b00229d6419ef2mr298244pjr.40.1674046472967; Wed, 18 Jan 2023 04:54:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674046472; cv=none; d=google.com; s=arc-20160816; b=MCNZolFJ9qUiHMq0b3dzNW9uBAAHLF8tfK42bPKX+qKPs4+t2mtNp2mbH/tmVCnYqb +do71G5OV/I//GJX2haVHKmnSUG857I6pUmbS9HuoyjvmwxcmRQRbTU8yqykUx7VIswo S89R7be7pXlUGoH1Dn5hpQcfB+suawOBPL/ZZVKTMN9e1UdE7Dy+e8SMEbRFxXhbF0gF Lu/RCmgtMsO440WyWqcWicd8MvNfljpF+reQqqVZHs+AFXJupUVXADhiNL8VW63fGJnL 40RMfKAXlxKcsoozToVkeb75qQ57d+dYfuTdgpV9Mcu7r/z3nDDSd/snAk2lKi5tuWbJ lSvw== 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=2rBQU67LM+z4q8v7vLB3UleV3oY1DFnYBeVdg+xw0H4=; b=UDrW5RiCtIKafK+B0HS/3xrpeb6WTDsI4oJ1pj3GOn7GCwUDAV9jQ0X+HdBTiL5GPn 2ipYg87oSFonaIlzOlBrE6+Nc2cIFpki7kQ7qBQh/e2lRsUNSiz3YRySbh2tGpT/LmQW heKPf2H5FGAjNbQWd3Go3JdDPiW85mKOBj48N/j2c1MF9x8tVtsIqYTtiEtA1qOcYH4N b0yd9fGd1PNgvv/QSX3fzl9YtVrYd6aQaaGpAQTHkr2D93gv7ZLbON7/wsvtpvhEbuY+ rkqWbJOuBoYDH0s4whHDmL48MD6dXcW1DQaq1xWfRRgmuqix9jpYwm84vR5ZqJg/54FI Su4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np17-20020a17090b4c5100b0020382775a6fsi2196692pjb.149.2023.01.18.04.54.21; Wed, 18 Jan 2023 04:54:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231284AbjARMxx (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Wed, 18 Jan 2023 07:53:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbjARMv4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Jan 2023 07:51:56 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80863470BE for <linux-kernel@vger.kernel.org>; Wed, 18 Jan 2023 04:15:22 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 81AA8169C; Wed, 18 Jan 2023 04:16:04 -0800 (PST) Received: from e120937-lin.. (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1A86F3F71A; Wed, 18 Jan 2023 04:15:19 -0800 (PST) From: Cristian Marussi <cristian.marussi@arm.com> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, james.quinlan@broadcom.com, Jonathan.Cameron@Huawei.com, f.fainelli@gmail.com, etienne.carriere@linaro.org, vincent.guittot@linaro.org, souvik.chakravarty@arm.com, wleavitt@marvell.com, peter.hilber@opensynergy.com, nicola.mazzucato@arm.com, tarek.el-sherbiny@arm.com, quic_kshivnan@quicinc.com, cristian.marussi@arm.com, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org> Subject: [PATCH v8 09/17] debugfs: Export debugfs_create_str symbol Date: Wed, 18 Jan 2023 12:14:18 +0000 Message-Id: <20230118121426.492864-10-cristian.marussi@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118121426.492864-1-cristian.marussi@arm.com> References: <20230118121426.492864-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755364954573334604?= X-GMAIL-MSGID: =?utf-8?q?1755364954573334604?= |
Series |
Introduce a unified API for SCMI Server testing
|
|
Commit Message
Cristian Marussi
Jan. 18, 2023, 12:14 p.m. UTC
Needed by SCMI Raw mode support when compiled as a loadable module.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
---
Used by the following patch in this series:
"firmware: arm_scmi: Populate a common SCMI debugsfs root"
SCMI stack can be configured as module so export is needed.
---
fs/debugfs/file.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Wed, Jan 18, 2023 at 12:14:18PM +0000, Cristian Marussi wrote: > Needed by SCMI Raw mode support when compiled as a loadable module. > > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: "Rafael J. Wysocki" <rafael@kernel.org> > Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> > --- > Used by the following patch in this series: > > "firmware: arm_scmi: Populate a common SCMI debugsfs root" > > SCMI stack can be configured as module so export is needed. > --- > fs/debugfs/file.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c > index b54f470e0d03..1f971c880dde 100644 > --- a/fs/debugfs/file.c > +++ b/fs/debugfs/file.c > @@ -899,6 +899,7 @@ ssize_t debugfs_read_file_str(struct file *file, char __user *user_buf, > > return ret; > } > +EXPORT_SYMBOL_GPL(debugfs_create_str); > > static ssize_t debugfs_write_file_str(struct file *file, const char __user *user_buf, > size_t count, loff_t *ppos) > -- > 2.34.1 > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index b54f470e0d03..1f971c880dde 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c @@ -899,6 +899,7 @@ ssize_t debugfs_read_file_str(struct file *file, char __user *user_buf, return ret; } +EXPORT_SYMBOL_GPL(debugfs_create_str); static ssize_t debugfs_write_file_str(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos)