From patchwork Wed Nov 8 14:24:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 163037 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp947953vqo; Wed, 8 Nov 2023 06:25:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkq6y3ZX4pt2luAF6ySndvABCmuDcehcwPfgmLe5E1yFJNmnJFAvLES7k1+XH0nAMKJnOv X-Received: by 2002:a05:6871:491:b0:1ea:183d:ff65 with SMTP id f17-20020a056871049100b001ea183dff65mr2149133oaj.35.1699453512071; Wed, 08 Nov 2023 06:25:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699453512; cv=none; d=google.com; s=arc-20160816; b=M21tK0h2hQAcpIzAfprPDMYGyzqI0KEBHMvszguZzhnhuaRhg3Pi/akedmrgJBA4ct Gpq7vRN5uINq56hBkLwHyKflYGFOYCCmLzwqGCOlZKEmEx+A5ThfTmb9zEIDToyFr2z/ 6MhRlcDHBnYPTHj/gvAyJjD639xUL2reeridz9SwB5hzDilIzeijTFGOoGxgUbU3a2lQ TvIeUb1eKZisKLVy1muuzS2ywr3HXpGUQ0sXbVl1J28aaUcz9zA2iTtUt4l5PlRNp57H b/BMwao3ooTZPV2/D27C8Udz9Ni3BPlpVZbY1+DbfgwkkGSEnnQ32AeKLORyF0NdtVLe IxKQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qfk82260fwHivQEmABc475lIDB13RydsA/UW3+hrbac=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=RCzb3OXXr+ZxzdZY+B4PLoXvcmhpDnYEiiao8+85gm7tHIouERvmXSb07A6C9eOiQZ ZtunXPNoMYQC6h2NgFYo1EJFLMnfomdsYRuTOuGuQn+Z+mRrYTEBvyrVeXa1SeXT+z3b gbbKGlGmzNaqMNhOujt1HJItv7n2VWhrrRlkVi701JUmv84dqA7nPRHwZD1FlPbo1LZt 2H6JXWoMrhQ8ZzGUD9xtt87uSei9Gt8Mz+aX+7E5bLa8d1eJNCpXZCozmAQG5E37Bumq cwqNRAtq0phpym5GUnHGVmAw29wSnMYIIWijNw19HsmjZk9LL98MGNu7v8jSYFI0SK/z QWQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="pq/L0QIu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l189-20020a633ec6000000b005b927f53914si4697346pga.59.2023.11.08.06.25.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 06:25:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="pq/L0QIu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E3EA0832AF58; Wed, 8 Nov 2023 06:25:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232268AbjKHOZJ (ORCPT + 32 others); Wed, 8 Nov 2023 09:25:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233384AbjKHOZD (ORCPT ); Wed, 8 Nov 2023 09:25:03 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F4051FC9 for ; Wed, 8 Nov 2023 06:25:01 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F3B0C433C8; Wed, 8 Nov 2023 14:24:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699453500; bh=EOdwMS7vJXCXxyNePs9bFMY5mRinN5nN+9oKZfWkeWA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pq/L0QIuPS6c36rUuYEpModmDqSsMnMj6rd7FfSDmMmvsR83JA+1gr4f459TTHxaE 8jAfy8Ou3yT1rhtf+JaAXVd1xhKJdvDu0xARIIX9V7cprjH1FQF66QEbz6gWZf0HeL BunIb/yDaukNxi0d4pw1/V4Mw7XGlDqsTPIZlM6aAxj8UNEqUjhipg2gQT942ZmTR/ 6qiuajPQFF6fGWWjH6q6F5uTOXpkQ/V4ESTNCi40qFiYNCVHy4rrYq1WtCGvb9o0es 6PlH5SyM6OFH8kMGz7OmJaIRQ5ceAiG4VzLCdC8GAczMG/geWRTKNfkgb2dkdmP/oW pvPodc8wJtmBg== From: "Masami Hiramatsu (Google)" To: Alexei Starovoitov , Steven Rostedt , Florent Revest Cc: linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: [RFC PATCH v2 03/31] seq_buf: Export seq_buf_puts() Date: Wed, 8 Nov 2023 23:24:55 +0900 Message-Id: <169945349504.55307.11956579566800344063.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <169945345785.55307.5003201137843449313.stgit@devnote2> References: <169945345785.55307.5003201137843449313.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 08 Nov 2023 06:25:10 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782006165516912278 X-GMAIL-MSGID: 1782006165516912278 From: Christophe JAILLET Mark seq_buf_puts() which is part of the seq_buf API to be exported to kernel loadable GPL modules. Link: https://lkml.kernel.org/r/b9e3737f66ec2450221b492048ce0d9c65c84953.1698861216.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET Signed-off-by: Steven Rostedt (Google) Signed-off-by: Masami Hiramatsu (Google) --- lib/seq_buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/seq_buf.c b/lib/seq_buf.c index 45c450f423fa..46a1b00c3815 100644 --- a/lib/seq_buf.c +++ b/lib/seq_buf.c @@ -189,6 +189,7 @@ int seq_buf_puts(struct seq_buf *s, const char *str) seq_buf_set_overflow(s); return -1; } +EXPORT_SYMBOL_GPL(seq_buf_puts); /** * seq_buf_putc - sequence printing of simple character