Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4587354rwb; Tue, 8 Nov 2022 20:23:18 -0800 (PST) X-Google-Smtp-Source: AMsMyM5LkiPpQ2GwNFXcuRPx5K10hOxS0tHpSMNe3nOyY5zl3i1YSw1Lr/Fkz0uCW+wTZdJih/bD X-Received: by 2002:a63:5d18:0:b0:462:f77b:cd29 with SMTP id r24-20020a635d18000000b00462f77bcd29mr50755527pgb.9.1667967798080; Tue, 08 Nov 2022 20:23:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667967798; cv=none; d=google.com; s=arc-20160816; b=OwVd6v0/6C4AEjMJPlR14VZolSVbspQj6y1u8YttOWkPFXYCmslQ/3X8ZAsZl+FZZ/ mvCYraXiN6XgyosdmHEYbAGwfz19FvzeBHDYkcLS6ipk4FtafMe5X7l/kpbhrJuKkojB G3MYxGi7VIRsBd0TCTtd2tGi33FHf1ctFVMjOYLBfo8D5+1CJpdgMdllQow3xiQnFJvY QN6TLPFYitC5IFKrseWjl9NkaSJ215hhz/k3dfD26R5hv7B2xJF0MkU7RP0H6UyB/Ewj yJ344TimqGP+tiyr5uox6MALmEjw4lMqCVOpr870F3M5EfVR0eaKHeM3d1VsDGxic/65 lXPw== 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=CaNyY1yoGEI7XAX9/WgKfgdVbOxXz9y90vOIeJzSS2U=; b=UbtLE1BuirnVBvOYeBSXjPHrLNygqIXwdLtewnFhDOPycFg/Y/2nlaP5V+q6mFadgf o1uAZzZEJ7tdlfV+VhDaS4LB6OPMZRNZ0pQO81V+Lg97/NjoWx9GhrSfo4ms+uYwjesv NtnbwE5VEFkLeQurPIRiK8Gj1u5lsoVtxErx7wNj0IgYCxz1wuIePrU0zZezJU4r8Fqb HLNZw9mhrEmwi0yAQhxJthTRTVmEGrWi0gNjUGvYvH1GASZfpZGGJvbeZTpAI2jcESol nTAVDV7OcAr7O79g+EosVZqJwyXfUzEYWXNVVoeln2EkhzMjF8CAk6zIe0vcQE2mH958 XWvQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a635053000000b0044b817adee1si16253649pgl.78.2022.11.08.20.23.05; Tue, 08 Nov 2022 20:23:18 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230021AbiKID5M (ORCPT + 93 others); Tue, 8 Nov 2022 22:57:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiKID5K (ORCPT ); Tue, 8 Nov 2022 22:57:10 -0500 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D3C7178A1 for ; Tue, 8 Nov 2022 19:57:09 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R541e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0VUMCMKQ_1667966225; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VUMCMKQ_1667966225) by smtp.aliyun-inc.com; Wed, 09 Nov 2022 11:57:06 +0800 From: Yang Li To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] lib: objpool: Fix some kernel-doc comments Date: Wed, 9 Nov 2022 11:57:04 +0800 Message-Id: <20221109035704.88975-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Make the description of @oh to @head in objpool_pop() to clear the below warnings: lib/objpool.c:425: warning: Excess function parameter 'oh' description in 'objpool_pop' lib/objpool.c:425: warning: Function parameter or member 'head' not described in 'objpool_pop' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2821 Reported-by: Abaci Robot Signed-off-by: Yang Li --- lib/objpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/objpool.c b/lib/objpool.c index ecffa0795f3d..96cd43eb53e1 100644 --- a/lib/objpool.c +++ b/lib/objpool.c @@ -414,7 +414,7 @@ static inline void *__objpool_try_get_slot(struct objpool_slot *os) * objpool_pop: allocate an object from objects pool * * args: - * @oh: object pool + * @head: object pool used to allocate an object * * return: * object: NULL if failed (object pool is empty) -- 2.20.1.7.g153144c