Message ID | 5c9a5ed97ac37dbdcd9c1e7bcbdec9ac166e79be.1698861216.git.christophe.jaillet@wanadoo.fr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:abcd:0:b0:403:3b70:6f57 with SMTP id f13csp601834vqx; Wed, 1 Nov 2023 10:59:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1WLdUyq3FwFhzeAWJeDyl1YfY3WtXMjoD75GNopRObjo/ZF1AQdlpWdjlzpKmtgEOHACs X-Received: by 2002:a17:902:d50b:b0:1cc:38e6:f097 with SMTP id b11-20020a170902d50b00b001cc38e6f097mr8275968plg.7.1698861573219; Wed, 01 Nov 2023 10:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698861573; cv=none; d=google.com; s=arc-20160816; b=a7Yavc7BAtOD3Z97M/IXx6fqqM5oCgHCYhaL93JNbV4gT2uxcqsEbWWXwa21+9I6kd DmopZO72QnzkfTlsqd0xZvbkubIskSy9biCImjOrch2qvpW4emdoptXiTUUzZsV2S2tI QORVFOasXenIbh8/sPgmoDMU/O6K3ETxkN3kFOl3W41CMEB9eKUeCJyZI/759y7Ouzoy vr9Y4oGAMZGSq0qVWB8NisHc1YQNMfcRLzv2JvZACyMeU7c6bWK3Og/tAI56HyE4Tpi4 55SOLkCLtT2Igul2kASobsR2Q5fGCFY/Tdmi0J9S80rG3ndTbjI/2LvKcon9yn7BWpD2 tCjA== 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=tp4MITVizuBEmp3ejOfTqUeRAaQ+yKheG8AeYiDBL6Y=; fh=VaqYdMPeQsLQkgq8I8p7QT+GcDn1BNiibNHp218zxsY=; b=i1K6BNLeMa4e86hzRpeSZ+6XBD955fXzFGvNxIEiyDdj2HQ+t6FOHdy14w6I9PZM58 XeFOfxZjqaXy3mdNI9ukJK/c8pjYkVkiIfPYdCyH61hS1WiMPnicIb+nrwoo9aJPvuf/ r9ur/nRU61SNvpwLd6XG7Kpn5zriESIUzK/lo78KfcMn32kYdFhas+K8OtF1ZgnP3hqL D7ZjLcCO6knn97WEG6V27WKUrSpyBPmGcSyTm4bCIxYU1xZZBCes2UIen/KgDrG1CgwS OehtLq2usE2giH2aK3X4HZVHEaKqlslydrhtgkuz6FfyEPvshXFmIIiPj3rpl3fUN7ld Ax5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=OTiGlgvv; 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 ka7-20020a170903334700b001cc3e75b2d2si3273112plb.446.2023.11.01.10.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 10:59:33 -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=OTiGlgvv; 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 4DB70805C166; Wed, 1 Nov 2023 10:59:32 -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 S233106AbjKAR7a (ORCPT <rfc822;rbbytesnap@gmail.com> + 34 others); Wed, 1 Nov 2023 13:59:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231969AbjKAR73 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 1 Nov 2023 13:59:29 -0400 Received: from smtp.smtpout.orange.fr (smtp-13.smtpout.orange.fr [80.12.242.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95A2D10E for <linux-kernel@vger.kernel.org>; Wed, 1 Nov 2023 10:59:24 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id yFUmqLu9UdNF0yFUwqlWkD; Wed, 01 Nov 2023 18:59:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1698861562; bh=tp4MITVizuBEmp3ejOfTqUeRAaQ+yKheG8AeYiDBL6Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OTiGlgvvl2fVGgJmRV1Am68m/67/gJYtyC/K8nrYIpeqt+9DmBDaf8rwtdCkEHhdT KI/7HXpdUAVSKRCoc5bfbORYcoNai92D76s/h2TZDhsD+oHLO7PNBTp7xiXk2y8evM OzT4Nvv0FJBbzrBv/K/DW1HAxp2L8n7sRX0lIuqomWs7crL3ldP1Rtlf7L6pZPndzS xZmGLYz1zporFbz1v+3wvE4Hw8kfxmYCa7/HTwpsj+niuEwUgsZZcOXtxPetzChggv n36Xz5fAoJv+/65UKzF8QD0OhCy1aLZ8vtjHO82l7OE2eOaUNO/7yGzmgeeoDcNiEm lqPcTqVPbFMDA== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 01 Nov 2023 18:59:22 +0100 X-ME-IP: 86.243.2.178 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> 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 <christophe.jaillet@wanadoo.fr> Subject: [PATCH 1/2] seq_buf: Export seq_buf_putc() Date: Wed, 1 Nov 2023 18:59:05 +0100 Message-Id: <5c9a5ed97ac37dbdcd9c1e7bcbdec9ac166e79be.1698861216.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1698861216.git.christophe.jaillet@wanadoo.fr> References: <cover.1698861216.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> 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:32 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781385473100550572 X-GMAIL-MSGID: 1781385473100550572 |
Series |
seq_buf: Export seq_buf_putc() &nd seq_buf_puts()
|
|
Commit Message
Christophe JAILLET
Nov. 1, 2023, 5:59 p.m. UTC
Mark seq_buf_putc() which is part of the seq_buf API to be exported to
kernel loadable GPL modules.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
This patch is needed for [1].
(It will need an update because of some recent changes in the seq_buf API)
[1]: https://lore.kernel.org/all/bbbab32e3e104bdc2238724a6a4a85e539f49ddd.1698512661.git.christophe.jaillet@wanadoo.fr/
---
lib/seq_buf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/seq_buf.c b/lib/seq_buf.c index 23518f77ea9c..fb99168c3309 100644 --- a/lib/seq_buf.c +++ b/lib/seq_buf.c @@ -208,6 +208,7 @@ int seq_buf_putc(struct seq_buf *s, unsigned char c) seq_buf_set_overflow(s); return -1; } +EXPORT_SYMBOL_GPL(seq_buf_putc); /** * seq_buf_putmem - write raw data into the sequenc buffer