From patchwork Wed Nov 1 17:59:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 160624 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:abcd:0:b0:403:3b70:6f57 with SMTP id f13csp601877vqx; Wed, 1 Nov 2023 10:59:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/OdncwURrCAKEWmzqhPYG7sbh9V53af2x1/2LPikA5qv0WUAjLnrxueaPlUHmIrrURhvG X-Received: by 2002:a05:6870:912b:b0:1e9:90ec:140 with SMTP id o43-20020a056870912b00b001e990ec0140mr19974865oae.58.1698861578083; Wed, 01 Nov 2023 10:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698861578; cv=none; d=google.com; s=arc-20160816; b=nOG4JWnFlHT01Dmu9OXm9FBszfQW8ZY4YDXqSGKNRZh0wDVq1wVB1okEynwvxKT2xB GWbT2IVVoeMNig2dvF51DnEm9s88Mxs/BXDD7EfGMDZK/IkCFL04JTklYVDLZ9FyI3Gm 5gVBwH1oiIDMVkEyzsrZsRrKmI7o/bWW0h8PW/FPMflBEwd/AAAvVpRSk4i/H90XYyF0 ZAN3hoGiwuFGTThou10K8DPP0hz2yhL/FMkMYRVgh3CMlFxpTR8KH2CwrZif0WLEKTpn B0qsgSdQm6dVFLSZVjLJTbHZzXlKs4chOxAJ84T00M9E62QaFVlSyPqpZiPoWV7rYuiy 5LSg== 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 :dkim-signature; bh=fmXDam8ctwZy0nwdVkg4LI2xqdzczg/T9kzcAIDeL50=; fh=VaqYdMPeQsLQkgq8I8p7QT+GcDn1BNiibNHp218zxsY=; b=uO2zUfkrCqFCQmtdp8n6U6A/lwZfJtMB/O17Sc60+//X8mKOeRVLyE+VaWZJ8BlZzg n4dQnQI8waLMT+gvbnVouBMi9ePYeA0KMdsEmG8UIgA3ortFO3P08XrEjNOf1utKLyZH kAJMFKTe3OXsoWwip6EsSmhwsLLVvrOe8554kk9t3/ZEevOUz0y8vk6sjT2sLTjX1s8k V1bcP03bzOEhD18mzGQEZqCpNLicwunJOFNMWlrBC+i73zGtzRvwM04dlMjrFAWCkXXk bgnRnwzx6RKct7GS5FriOrMWBl85acMxd03AwNgsIjCTc48ZEiw7Y5jL0nvJ3aGCaQxS qmdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=PwsCyBiM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b005b8ea21ef39si327612pgp.267.2023.11.01.10.59.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 10:59:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=PwsCyBiM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E50548184E0E; Wed, 1 Nov 2023 10:59:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233554AbjKAR7c (ORCPT + 34 others); Wed, 1 Nov 2023 13:59:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231258AbjKAR7a (ORCPT ); Wed, 1 Nov 2023 13:59:30 -0400 Received: from smtp.smtpout.orange.fr (smtp-14.smtpout.orange.fr [80.12.242.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E557811B for ; Wed, 1 Nov 2023 10:59:27 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id yFUmqLu9UdNF0yFV0qlWko; Wed, 01 Nov 2023 18:59:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1698861566; bh=fmXDam8ctwZy0nwdVkg4LI2xqdzczg/T9kzcAIDeL50=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=PwsCyBiM7rseh7jFjjmEIaK+1rEjKjORJ/6LE63E7XYnWtKuyRBcoW1RNDKbs9AWr ACvuCd0qoJhsoRwVvW9tVWlBWBjJx61sihf+LYGbiNPRDVAZpBngT6JUic1GCFZ6k9 MMODtBMkQcpdfROVrEdmidc+OhF11eoYz2s28IS6aCd6D+4pr+okvK/ZshZ8v7piXV 7P+okjmXoHZ7Exy7TyQ7bcQcIzgE/hSp+hdMs1s6TeVMTtdByQTwMrlOyl3nwKRkCT eKAL7wQVGSyvz5lRCVHRmt4f1Z/VCvGf91pLfVSUGPVrJnO6jIDPrzG7ZMCrZ2jMWC YVuSfP55gvTqQ== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 01 Nov 2023 18:59:26 +0100 X-ME-IP: 86.243.2.178 From: Christophe JAILLET To: rostedt@goodmis.org, gregkh@linuxfoundation.org, keescook@chromium.org, willy@infradead.org, senozhatsky@chromium.org Cc: list@mail.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 2/2] seq_buf: Export seq_buf_puts() Date: Wed, 1 Nov 2023 18:59:06 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: 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, 01 Nov 2023 10:59:37 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781385478039032984 X-GMAIL-MSGID: 1781385478039032984 Mark seq_buf_puts() which is part of the seq_buf API to be exported to kernel loadable GPL modules. Signed-off-by: Christophe JAILLET --- There is currently no need for me for this export, but should the seq_buf API be more widely used, it could become convenient to have it available. --- lib/seq_buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/seq_buf.c b/lib/seq_buf.c index fb99168c3309..010c730ca7fc 100644 --- a/lib/seq_buf.c +++ b/lib/seq_buf.c @@ -187,6 +187,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