Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3735502pxj; Mon, 7 Jun 2021 19:35:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwCEAfQ3LRc1llvyBor1EAThiDfrRSkSL8JLXtomMW4uiMfauruDn+3E7upnhCFmqyvmDV X-Received: by 2002:a17:906:b048:: with SMTP id bj8mr21014456ejb.236.1623119701786; Mon, 07 Jun 2021 19:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623119701; cv=none; d=google.com; s=arc-20160816; b=vQ0u0iwgJeVtnsWTJ5O8WMj9mwe9SY2BFU1IeuU9g12430M1JhXKVEOg5dw6r537km dE6ceQNX1KT1iIrHAjflWXrcDYGukFICyCrVnmjvyDHb6LjowXuyVhPEtKlgQQ9No2u1 RV2WXaNh99m4UwZu/IoWbQifizBg/57cqhRfTp26wBgyOzTrgyDIDzmYtVJCYM79maQy dTDim7rC1m1bfG7pDYh9ybuDln6GT41F4xvFaeqswxomll3kn9Kd7HzLVHn6vw8jKurP Tymg3uYcWWLAtUvz0gRNEUTzptxYZ19YMGpQC8Ta3aVfpG9Hny1NXbziOZlkptoJ3FqP rYGg== 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; bh=6iwWu79GmV7444FnSVHldQiwEH/9nU2tcKqS7eEdack=; b=Vs+nsfG+mqPEBhxOeg6Y0ZEKyDPPHPXv1icMtaZZYgfozCEckyy4PFO5c7Kp01ZJqS OqjB7jyGAhQ25BcCydC+vPMnO+dGm/iGmoW8MQaOjbUjHgodqii4fvAtFu7b0QyTTVvV XIDroI5/diL2alHqN8ySFF3GLS1C69vf5bDhX6MnTqKp4DchV/m8RuFcThPp5wCGlJDX yfBGxyJjvIZZhUlBjBJnHy9vZUF6gspidONGoQX/+GLv3onLPe1R0GmAtdEHoCNb2al0 MMdqg/ismsN5OaVWnOEmLXJmdGPwxZ8gnFm6BvnBUlhjggHTo5oEVJYRQ6g5gTeg6Rmv keGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si7873295edy.153.2021.06.07.19.34.38; Mon, 07 Jun 2021 19:35:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbhFHCdY (ORCPT + 99 others); Mon, 7 Jun 2021 22:33:24 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:3090 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230356AbhFHCdW (ORCPT ); Mon, 7 Jun 2021 22:33:22 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FzYyk4vlCzWthl for ; Tue, 8 Jun 2021 10:26:38 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 10:31:29 +0800 Received: from huawei.com (10.175.127.227) by dggpeml500020.china.huawei.com (7.185.36.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 10:31:28 +0800 From: Baokun Li To: CC: , , , , Subject: [PATCH -next] argv_split: fix doc warnings in argv_split.c Date: Tue, 8 Jun 2021 10:40:39 +0800 Message-ID: <20210608024039.2748699-1-libaokun1@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500020.china.huawei.com (7.185.36.88) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add description for `argv_free` to fix the W=1 warnings: lib/argv_split.c:36: warning: Function parameter or member 'argv' not described in 'argv_free' Signed-off-by: Baokun Li --- lib/argv_split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/argv_split.c b/lib/argv_split.c index 1a19a0a93dc1..451ecea43b2c 100644 --- 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. */ -- 2.31.1