From patchwork Wed Nov 1 17:59:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 16147 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:abcd:0:b0:403:3b70:6f57 with SMTP id f13csp601734vqx; Wed, 1 Nov 2023 10:59:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJxuOyw5Ro6yH+2tEHJsp31CO0BblNG0UQJz+tYy9Nu6VHQjEnf6vKyQ4EYQn50B06Cjtz X-Received: by 2002:a05:6a20:6a09:b0:138:2fb8:6c48 with SMTP id p9-20020a056a206a0900b001382fb86c48mr15448562pzk.8.1698861564130; Wed, 01 Nov 2023 10:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698861564; cv=none; d=google.com; s=arc-20160816; b=mC6XZVmlQEB9ja2QGAOzM7vGmKUARf2ZqyN0hxZEtgsWps9xzjFvwEVzrypU3TpHeA 9wxkJkPlqlwoc36duL60maHWEkfTAoPne9DW3ACt5zjSoIujgP5BN8lIO7UU2qNVst6X p2AAMwOMHTmdEvh4R9ZNK7qG6/oE2cXuUo4l15RwbbUZEF6et1HKzE6mIVYNrSNelIKM lsMRa0bvSA4VW8bkKh1jmNFIjM6AcWo11DJfilEmpWlOE4KRXsH0mzcT55T/q043r5af p0agbUMOdnPsnT9z0DswbcPAoSeVn4UBGCAV9cQsCjl0RTNjozxJcPUyZRTkKAsnKF/J KiLw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nSCBkCeZL0EQ7NHodw1YX1UP/T3rsY2JwArBMjG08Zc=; fh=VaqYdMPeQsLQkgq8I8p7QT+GcDn1BNiibNHp218zxsY=; b=qgAoLUJEwKUzVo12K/YNP9nMxVDDMHExlyowg6BJGH4Xad0sQBJhyER/xF3PTv4SbX PXiWLtzmVtoE7oLTqspqqP+rIGWejDhFIqorVkjwJmgIFrVaaw9nXvjBkBaOQT3+SiBk fDwscVc4sFm0ZoPhc7P/yJUqqYzH2J2vIfuJL3IBlL897DcNa2XGR/AwLjXhGguqSqJC p4wQr9bkjZSW+a+6kbswfqALDvsjBsPlUrhwugNUf/Zam5yhudaTPzo7EvXlvXgJxj4Q YB9ULXJw2ikc8VtS1wTMWalxvuWevNNEPUsFGyCVPKJ58+mq3xzQL9jajVwRxFg/Wj5R MhPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=O4u5rTof; 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=wanadoo.fr Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p21-20020a056a000a1500b006be04b8c3basi2177277pfh.178.2023.11.01.10.59.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 10:59:24 -0700 (PDT) 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=@wanadoo.fr header.s=t20230301 header.b=O4u5rTof; 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=wanadoo.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4C0BD805C166; Wed, 1 Nov 2023 10:59:22 -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 S232303AbjKAR7U (ORCPT + 34 others); Wed, 1 Nov 2023 13:59:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231258AbjKAR7T (ORCPT ); Wed, 1 Nov 2023 13:59:19 -0400 Received: from smtp.smtpout.orange.fr (smtp-14.smtpout.orange.fr [80.12.242.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1CE3C1 for ; Wed, 1 Nov 2023 10:59:15 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id yFUmqLu9UdNF0yFUmqlWiI; Wed, 01 Nov 2023 18:59:14 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1698861554; bh=nSCBkCeZL0EQ7NHodw1YX1UP/T3rsY2JwArBMjG08Zc=; h=From:To:Cc:Subject:Date; b=O4u5rTofB6KkdSZGCpBZFY1Yp76juWyKZtYGAbn0PX+e9vkx1MqBokVwOp5Diu64u Gwq1TK7Ou/2WiF4YWCN46PQ4sw0oBsXjnutFBhhElG2x0ksu4Egj9PoKb9BWA4gcJH vcGIe0B4H+m0GPti6Ot+G2B4J5XPNyE7h5n2sv1gcky2lF5M/P29tveE8g14XxwWa0 Kb/OfNwVkqbs+0cQy5upv5TqraMGpY3GTxxXrG3/MFztH/TF7SFt90YAjFxyBdPoCV bJdW0W5BR8JpdRFsOpQOIOMRKqmS6bAIQrfBPsAyx46MQRS6tVTNa4EVQA2Q3UPa/I ppyjuUjqFDiAQ== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 01 Nov 2023 18:59:14 +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 0/2] seq_buf: Export seq_buf_putc() &nd seq_buf_puts() Date: Wed, 1 Nov 2023 18:59:04 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 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=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: 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:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781385463634328638 X-GMAIL-MSGID: 1781385463634328638 seq_buf_putc() has a potential real use-case (link in the patch), but seq_buf_puts() has currently no forseen use-case, so I have split it in 2 patches if only the 1st one is accepted. Christophe JAILLET (2): seq_buf: Export seq_buf_putc() seq_buf: Export seq_buf_puts() lib/seq_buf.c | 2 ++ 1 file changed, 2 insertions(+)