From nobody Thu Dec 18 20:31:22 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8BD9CA0EC9 for ; Tue, 12 Sep 2023 06:08:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbjILGIq (ORCPT ); Tue, 12 Sep 2023 02:08:46 -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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Use proper kernel-doc notation to prevent build warnings: lib/argv_split.c:36: warning: Function parameter or member 'argv' not descr= ibed in 'argv_free' lib/argv_split.c:61: warning: No description found for return value of 'arg= v_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) =20 /** * 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