Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp914934rwd; Tue, 16 May 2023 09:11:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ41A+Bwz+Ib2ITRrANUV2lkqeKgsjC8D0E94Xq6St+vKbakGYednegj2gJVkMCxNHqhRRbe X-Received: by 2002:a05:6808:404a:b0:392:5ce5:d1c with SMTP id cz10-20020a056808404a00b003925ce50d1cmr14680418oib.7.1684253513268; Tue, 16 May 2023 09:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684253513; cv=none; d=google.com; s=arc-20160816; b=xXD03gm8xS5xlWV88gDdpdEVREhEORN7MKVQrhZfZGbG87u/5Ry1HpmIt43Dxp1zzR uxUo7dWlIiigd8dyd5PjAs6JKGWZwuK/ALzt6pyd8Rgu+JLNP6jik0VwSoUHGKWnqUDl hSG7TgOJdLCK/OQRlgcAqthdj8SLj28TApicSPwt2zQDlaP/WYn4IJ/JAMlDCLBOf6BT sgxtKyJ1Tki/lfoFTqKKhc4jIaQohmWFaRx3Xe645CdL5/B4AiY8I653WRquHAojqVKb GpJG0HkJJCBUPLUTPYif2EqLwuJCY/5jaGAoRQnofVMPYNfLmi3Wt1AC7gKIIQ+LnRSr uS3A== 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=0NeDmDYR5mVb0sXj7lokIcwNiD3MIiyy9ewxIBZOeUo=; b=c36e0HDnPECMn48BboZVzX4Q3FqxzdGopLjz2fkHbkGnk3QPV0fvH4HBfuk7MDgKWQ nvPqYjpWx8bHmIAY3+kvjx7kYDUE4FkcDM0Q86JbnCNL5k6LmpwxHIJ0RcjY6z6BvG9o KfmJqmPFz5CQeVEA4VlYXWDuXsSVSuCL5dn8pVkW3y0rQu2qEmetwF9L3hE+TttLmMFH l0BbhpwnG6QH1vB5bewHHlDtmA9qhRQCtIuc4RT9tumAlio4UFSFi5YrI41c8k3F0KRR R74UujD/QPDNIipt0NCXdvTYeFKzz0VGQWu9RVm1hq2IKCBTIFxN4ohcQqI8jR0FEi0T IV1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=CJG1X+oA; 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=cirrus.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p21-20020a544615000000b0038c5b41e9e9si11910384oip.252.2023.05.16.09.11.40; Tue, 16 May 2023 09:11:53 -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=@cirrus.com header.s=PODMain02222019 header.b=CJG1X+oA; 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=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234416AbjEPQJx (ORCPT + 99 others); Tue, 16 May 2023 12:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233570AbjEPQJR (ORCPT ); Tue, 16 May 2023 12:09:17 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A83FCD041 for ; Tue, 16 May 2023 09:08:42 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GFMCae029111; Tue, 16 May 2023 11:07:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=0NeDmDYR5mVb0sXj7lokIcwNiD3MIiyy9ewxIBZOeUo=; b=CJG1X+oA5jqftgZprA6nxVBqXiq705NNaF8esSbWzKVvFCWmmCRSi2yJ6jXAXuaSuG7Q CQ6yxGY8E2rhhrZp9fcultqAtUpZAF3Y/lPPfI3Nanf/LCO+RoUgqoMcIRy0amcLxejU lko6q+1DorRCyCSlPnZj3cqV7OQK/3NkuriX/XyzRHOzT+wKlqS6ptaPgFYHVddqZXRD /jVsoy/JfwNRfjUXklyM0y+6e5jpE5QDxeT4aHG1aZ+1IqOFmCEctk+K03C3DnATvLsC /pLc8cPN2FzTAPQQtUs9mLTnpgPpI52+J0Txrx2lKHITUHJhr56nhEcWFYyG4n2/xLKM IQ== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3qj6ymvnvm-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:07:58 -0500 Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 16 May 2023 11:07:56 -0500 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 16 May 2023 11:07:56 -0500 Received: from EDIN4L06LR3.ad.cirrus.com (EDIN4L06LR3.ad.cirrus.com [198.61.64.66]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 62E7FB38; Tue, 16 May 2023 16:07:56 +0000 (UTC) From: Richard Fitzgerald To: , CC: , , Richard Fitzgerald Subject: [PATCH 2/5] debugfs: Remove kerneldoc that says debugfs_create_str() returns a value Date: Tue, 16 May 2023 17:07:50 +0100 Message-ID: <20230516160753.32317-3-rf@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230516160753.32317-1-rf@opensource.cirrus.com> References: <20230516160753.32317-1-rf@opensource.cirrus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: krTL3GHzXkYZlwi_we7-r2_1SiwQ9IqS X-Proofpoint-ORIG-GUID: krTL3GHzXkYZlwi_we7-r2_1SiwQ9IqS X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Remove the lines of kerneldoc that say debugfs_create_str() returns a struct dentry *. The function does not return a value. Signed-off-by: Richard Fitzgerald --- fs/debugfs/file.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 2c085ab4e800..0c039a3d9a42 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c @@ -943,15 +943,6 @@ static const struct file_operations fops_str_wo = { * This function creates a file in debugfs with the given name that * contains the value of the variable @value. If the @mode variable is so * set, it can be read from, and written to. - * - * This function will return a pointer to a dentry if it succeeds. This - * pointer must be passed to the debugfs_remove() function when the file is - * to be removed (no automatic cleanup happens if your module is unloaded, - * you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be - * returned. - * - * If debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will - * be returned. */ void debugfs_create_str(const char *name, umode_t mode, struct dentry *parent, char **value) -- 2.30.2