From patchwork Tue Sep 12 06:08: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: 138519 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp784371vqx; Tue, 12 Sep 2023 18:17:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGflK9pznFYZ8gXCVGDw0NkclNYqrZstFI5jxAOWGu2UaLEkO8/Puibq5jjy04f1TvxLnY9 X-Received: by 2002:a17:902:778d:b0:1be:f45c:bc38 with SMTP id o13-20020a170902778d00b001bef45cbc38mr1316710pll.2.1694567841518; Tue, 12 Sep 2023 18:17:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694567841; cv=none; d=google.com; s=arc-20160816; b=EHZu15W8D3WKfvLyP1IKsqxo7CcW/wmIdkt6f6nPvdp+XBJnqhjoGfOl4EzyAcm13N TWLYeH+Y3ksOvYCHOTecf5u1pXOfj9HKa2qyn4k8Wh2DXDbC90fQVsu+Sl2FS602C0P8 Lxt7gDcZogZQKqKW5q9ONj2s5C8YenN9bFSCUbLD8F6pMMabkfKK1flq7hNhPzzedK9h 0pJMvbmgzuPH8vX8TWdQDDWzobrr1Mc3dNCiCKGkIaAO0znrTUOP2RwpRpkYqUYSJNpj p8lDhAvuBoO8E36i8YU9QpP8gt0h/oBRl6RKVAVug7SQIoqYqRi94jum8NTfYrBtaiDr yl3A== 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=s2n5Z3RfaWN4dfWUUsczXNXAwP90GClfQqKVzYRyCYM=; fh=mEh7V9GRQlFU0nkBzFYYX6243u1ieEz6dcCVhlfAlNY=; b=S+k9ukc6MWgiP/jPmNvB0atY1B4GeV/g4oOKd2bd8e10TkKsqjT0BqHvMRuKXCA1OJ u9NTXkkd0thEdKwBDp+MxeveemYjUJLQurBC7x6qjBoOLGoYNPifKqtvTr67//We+pu5 2Ng+frrRW77K+rElvic1qC+OWL9HFvimYgFf6Mbej9NZ25L48wFEYKzzutY6y+w58KxN /MkLX1B19SsCR/NLUXxL/0qLHtacFjD4PKSdipLCur2EZRBlFGwoe6BW5OKHTJZWs8GG Yeme16T9XA8eP7SwWFYFtb8wCEO4nO4yf5tMYu/HhwYlT8amTi984FTQkaMv5t791F3N NxRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UhvL+jfi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j7-20020a170903024700b001b841d54b7csi9405835plh.206.2023.09.12.18.17.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 18:17:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UhvL+jfi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6509A84E98BF; Mon, 11 Sep 2023 23:08:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbjILGIp (ORCPT + 39 others); Tue, 12 Sep 2023 02:08:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbjILGIn (ORCPT ); Tue, 12 Sep 2023 02:08:43 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A33F710D8 for ; Mon, 11 Sep 2023 23:08:39 -0700 (PDT) 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=s2n5Z3RfaWN4dfWUUsczXNXAwP90GClfQqKVzYRyCYM=; b=UhvL+jfibBaJG6yTsr2aLooe32 cfKTqsbSfkZ1e7UCJ8wYE1W3uTuvXBMoz96DXZtoM9RkKnKX8ZihPpQyBDMxW2gUtX0m/m4UuyZY4 pHc05wp61oL9xpYYHWG05/zYTO249JNuiW+NeGmA/QsFBuAyk6vMrqvyHBHq3h3Er1ylw1EuYLsiQ TfbVdSwEZUBrDBOlYDlcPBvb7CiY8tI6znPlFRD3/W999Hia+5vGWEnuYzKL25OejQUrpuMui+SzP E1dwzlnAVtMsVlQxWVBZyk6jpDjq5Ko8mE4KSJYvAhfRGDKYZNYx77DKxUZYjQXZFnv0hWwMmSblj UGrc0SOQ==; Received: from [2601:1c2:980:9ec0::9fed] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qfwZj-002FlQ-1Q; Tue, 12 Sep 2023 06:08:39 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Morton Subject: [PATCH] argv_split: fix kernel-doc warnings Date: Mon, 11 Sep 2023 23:08:38 -0700 Message-ID: <20230912060838.3794-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 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 (howler.vger.email [0.0.0.0]); Mon, 11 Sep 2023 23:08:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776883169257524109 X-GMAIL-MSGID: 1776883169257524109 Use proper kernel-doc notation to prevent build warnings: lib/argv_split.c:36: warning: Function parameter or member 'argv' not described in 'argv_free' lib/argv_split.c:61: warning: No description found for return value of 'argv_split' Signed-off-by: Randy Dunlap Cc: Andrew Morton --- lib/argv_split.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/lib/argv_split.c b/lib/argv_split.c --- a/lib/argv_split.c +++ b/lib/argv_split.c @@ -28,7 +28,7 @@ static int count_argc(const char *str) /** * argv_free - free an argv - * @argv - the argument vector to be freed + * @argv: the argument vector to be freed * * Frees an argv and the strings it points to. */ @@ -46,7 +46,7 @@ EXPORT_SYMBOL(argv_free); * @str: the string to be split * @argcp: returned argument count * - * Returns an array of pointers to strings which are split out from + * Returns: an array of pointers to strings which are split out from * @str. This is performed by strictly splitting on white-space; no * quote processing is performed. Multiple whitespace characters are * considered to be a single argument separator. The returned array