From patchwork Wed Feb 15 05:37:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 57370 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp14297wrn; Tue, 14 Feb 2023 21:42:19 -0800 (PST) X-Google-Smtp-Source: AK7set9+/hQXyl/1YO4EPkCcZLBNITHRM8k1ueLTNmn5ZmqRclEVQ4C/smGYEWT+Pc+8+KBH8XJo X-Received: by 2002:a05:6a20:e415:b0:bc:8254:ddff with SMTP id nh21-20020a056a20e41500b000bc8254ddffmr616273pzb.1.1676439739641; Tue, 14 Feb 2023 21:42:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676439739; cv=none; d=google.com; s=arc-20160816; b=Kr3t/qsDfuG6Z+H4ghWK8NoqIOiwhx912QIl8EVGxlg+cEp15Rjl+WgCfnVWqtaVBM noX5UHQQDXpEWBYOryioh+lblRyRH9uqAcuFnlIApXrVuiRE5bfltEf73iAuaG6aNNe/ 7KoDat1h9av4C6ARfKUydqps8PMMZrj/LTdL798xv1dusQccEed0kQvuqxKA9tMx6gFf zKsx76GS3+awfMSXzQHOJ6zw7PfJ8+oG8BBTry3YHWhzRowXBS5q1b9/knmARFLCcbI5 35RIkljt+1zJmHo3z/1fCJxwy2rTm2wZt1BnbmsQ3T078Y260dEmtXTB6BblSzcIwnSi 58+A== 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=Jz1+VJIZ0aRqq1aTi0zpYrB+is+bC7Y+La1wr/xDfSw=; b=ngKR2ZhnZO+4+qfgjC0XnyByg2Ky6JsimEhdBON8mgW9hGD6uBZ7VbiQpWL3TwW4vl 6w1eUbw6ZpTTBS0etJG1+jOnjgNmfvRyaExYxvhil7ROiZzi3cqfvUog++PVGZjFQayR nDtVmN7LAw+OplVlPxeD6WAeQI0O4niT/6ZNzzodHA5i5mR1LKLA8jN/GmYb2b29ALHW 4AuzbUI8kN3KsJ+9eyU1kHDFyuOc+RARAWrZIrF9bu1ZLRYr9X2yapTXK0ewvh7EBjuH i2NfSzcn1F+fQBLzDKnw3Nflr7grTcdQUHaYlbklmnWK+Y5/883bo7GftPSAFdeaAWHn bXtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=oOpXes6I; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e123-20020a636981000000b0049b37046fbcsi10666360pgc.391.2023.02.14.21.42.07; Tue, 14 Feb 2023 21:42:19 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=oOpXes6I; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233130AbjBOFhn (ORCPT + 99 others); Wed, 15 Feb 2023 00:37:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjBOFhl (ORCPT ); Wed, 15 Feb 2023 00:37:41 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3C782A9B0; Tue, 14 Feb 2023 21:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=Jz1+VJIZ0aRqq1aTi0zpYrB+is+bC7Y+La1wr/xDfSw=; b=oOpXes6I0lIouUBEoat6MXU0e0 GjkP3RxIUFSoftEIm4wjOsYC/FzF+OdRwxee//qbvmdjF5m57LF+LWBa3HaHtZ+VXmai+5pTaS6i3 nuv7yW7DgGL3sF7tKZSEEai2hVjwp9kC9KkRMekWCaMwg79mb/lunGp1lTk0oBkwhpXDvTny2fJ7X kIPOnk/54C3SkZFLrstLlXyheGcx9koQ/AWuZp8cZ78dDkfsDzezlhQdRI2LeJD02lzN+l9m4Wvw1 G2Dk2RbYVZVI9mnCGPR4lVCCZzKZkx1Ajhk0BiOeibs451e4DtgtdSs7AEOw0dECXyQJH5S8zag+v N7HTQfTQ==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSAU6-004nZ8-Ur; Wed, 15 Feb 2023 05:37:39 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Vladimir Oltean , netdev@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Mukesh Ojha , Daniel Jordan Subject: [PATCH v3] Documentation: core-api: packing: correct spelling Date: Tue, 14 Feb 2023 21:37:38 -0800 Message-Id: <20230215053738.11562-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757874476486295855?= X-GMAIL-MSGID: =?utf-8?q?1757874476486295855?= Correct spelling problems for Documentation/core-api/packing.rst as reported by codespell. Signed-off-by: Randy Dunlap Cc: Vladimir Oltean Cc: netdev@vger.kernel.org Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Reviewed-by: Mukesh Ojha Acked-by: Daniel Jordan --- v3: split into a separate patch as requested by Jakub. Documentation/core-api/packing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/Documentation/core-api/packing.rst b/Documentation/core-api/packing.rst --- a/Documentation/core-api/packing.rst +++ b/Documentation/core-api/packing.rst @@ -161,6 +161,6 @@ xxx_packing() that calls it using the pr The packing() function returns an int-encoded error code, which protects the programmer against incorrect API use. The errors are not expected to occur -durring runtime, therefore it is reasonable for xxx_packing() to return void +during runtime, therefore it is reasonable for xxx_packing() to return void and simply swallow those errors. Optionally it can dump stack or print the error description.