Message ID | 20230509175543.2065835-4-james@equiv.tech |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3077905vqo; Tue, 9 May 2023 11:10:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qiZ8KlV21p5bHKGHz/5wFORwXywzqIczHAZ1L6nT8k9194QeMP0694ZvKvp+oWeZPR5Nn X-Received: by 2002:a17:90b:1810:b0:250:981f:365a with SMTP id lw16-20020a17090b181000b00250981f365amr5905602pjb.23.1683655841624; Tue, 09 May 2023 11:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683655841; cv=none; d=google.com; s=arc-20160816; b=A0qYu08fZZ8PdZw2dW94a5LuMl3B/Mmt6azjO6x7fDZw4DxyVZZqQuGNVP7iE1rTSm AaxOkZUsDV2LwIASVEHbg9FQqV9cm1C9gaprBI0ijhBioVnaRF1jwjBL5ERorfg4+fOq JdoOwyT32p5AnDmWsdlnm9LJz//1+NlTJmP5w0NZ/OQSHZqI7GAn3OeWcFS/khqQdnx5 zu5+SsIhXZwneKjrJPzGPIAcfxPL6PBESGODR2JDivBFQ8FGyPJn5um4CFUk5VolLlL0 2CIenOjcDpgQ5eh6LCEyDcrUOb73Hf4rr0UPe4+9ByeOagVoHXzbSCEytAdrcY562wFb XsJg== 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:sender :dkim-signature; bh=AhzIKWTMsV4zA7MKuXnmnFl9fzQYGsYJmx449VzTw/k=; b=Qw2lXzy+S+7jfurYess7ZkTRwp3mZZqxT0JVCXT+bKgO1b+wlBE/yhK0fqYkzJUM9w v22vrcUrgEGdEoT6znYxxWl4x4+KyN0l7hpDhl7Luyx5CmwRKcqIEuMs3ierqNsuSKv5 IQfWs+/HDY4OafThwkNW9lQGxkqHdrdpZ4nlWTFlf5qo9zhEPh7ZFuhDc4TvfK7xUJsv MQ/Mn02EzszKzzIHgGIBog7qXsT6g79VmdBGxAIDbySGoNxn8DXFuIVDPZbhupKB05In ljzYzyYBS/ahZAmbshie2Y0iSrj2FYH/0l90fsTHPACe8Tfi9P/VYKKgeK3/rt5vvpxl 1M3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@equiv.tech header.s=mx header.b=rt7nZG4e; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=equiv.tech Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w11-20020a17090a4f4b00b0024e0361745csi15350018pjl.186.2023.05.09.11.10.28; Tue, 09 May 2023 11:10:41 -0700 (PDT) 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=@equiv.tech header.s=mx header.b=rt7nZG4e; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=equiv.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234768AbjEIR7b (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Tue, 9 May 2023 13:59:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234636AbjEIR7V (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 9 May 2023 13:59:21 -0400 Received: from m228-4.mailgun.net (m228-4.mailgun.net [159.135.228.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D53D94EF4 for <linux-kernel@vger.kernel.org>; Tue, 9 May 2023 10:59:18 -0700 (PDT) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=equiv.tech; q=dns/txt; s=mx; t=1683655158; x=1683662358; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Subject: Cc: To: To: From: From: Sender: Sender; bh=AhzIKWTMsV4zA7MKuXnmnFl9fzQYGsYJmx449VzTw/k=; b=rt7nZG4eY1jmCmkyT+f4vD1T6Gb3gdCSV+Tne5Y+RvAU+u8DLKnqNaMUjMI2BQTafFLQMClsyB7q4p8DOae9wpUVOl4G4tg1cNWRZC/TizMOY/iqCiRGCNQeFJVaefxFYaE/JmJj/9BrCxXOkkaafyEZeKcmIJCFoPwh+Z25SM76Ev79ubuJn0iWBwSdoR17QORl0yR9hQecprKAyVnvWzHhm3A6zQEbZf+jFPBvmoJyExQQ+0bi4U5CGfZNNUUPALSLd6WQLMEC+x02fpOJ8qeOuu3sPUGMXhE/8do5A4Vf097PIDQT8WSl9uXQ4d93hELxx8yCizt5C+9c7vIOMw== X-Mailgun-Sending-Ip: 159.135.228.4 X-Mailgun-Sid: WyI4ZWI3MiIsImxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmciLCI5M2Q1YWIiXQ== Received: from mail.equiv.tech (equiv.tech [142.93.28.83]) by 450ed783a028 with SMTP id 645a89f67ce302952fa785cb (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 09 May 2023 17:59:18 GMT Sender: james@equiv.tech From: James Seo <james@equiv.tech> To: Jonathan Corbet <corbet@lwn.net>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Andrew Morton <akpm@linux-foundation.org> Cc: James Seo <james@equiv.tech>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] Documentation: core-api: Add error pointer functions to kernel-api Date: Tue, 9 May 2023 10:55:48 -0700 Message-Id: <20230509175543.2065835-4-james@equiv.tech> In-Reply-To: <20230509175543.2065835-1-james@equiv.tech> References: <20230509175543.2065835-1-james@equiv.tech> 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, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765441107923030590?= X-GMAIL-MSGID: =?utf-8?q?1765441107923030590?= |
Series |
Generate documentation for error pointer functions
|
|
Commit Message
James Seo
May 9, 2023, 5:55 p.m. UTC
Bring the error pointer functions (e.g. ERR_PTR(), PTR_ERR()) into
the docs build so that they can be cross-referenced elsewhere.
List them as kernel library functions in the kernel-api document.
Nowhere else seems to fit, and they need to go *somewhere*.
Signed-off-by: James Seo <james@equiv.tech>
---
Documentation/core-api/kernel-api.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst index 9b3f3e5f5a95..44b96e18f8f2 100644 --- a/Documentation/core-api/kernel-api.rst +++ b/Documentation/core-api/kernel-api.rst @@ -96,6 +96,12 @@ Command-line Parsing .. kernel-doc:: lib/cmdline.c :export: +Error Pointers +-------------- + +.. kernel-doc:: include/linux/err.h + :internal: + Sorting -------