Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp959493pxp; Wed, 16 Mar 2022 22:40:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHJWsgxNwKrQn1QpBM4ptEzNnD7P0Ja9uXo0+xaNQrBMD7AuFisiU3iwciD8AXWHrEVb0A X-Received: by 2002:a17:902:b7c2:b0:153:b7fb:14c3 with SMTP id v2-20020a170902b7c200b00153b7fb14c3mr3142429plz.134.1647495654927; Wed, 16 Mar 2022 22:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647495654; cv=none; d=google.com; s=arc-20160816; b=XDN7gBit0kSjVfP9t1KQ6UcLRZECT5UM121ue6yIWVIsvOTLEDEDxO/a0XYEtlUP6h 26kf/peuRzRdx6qMnNojo/bsZ78emEzhtTdnaQMjMzG9K8GsXLxZdRz09JqFlKMR87oD nIm+X3W8JB8dqtEbagNB7hA6feyZ6/wPdVXIFTuBOMHSmHkDlZwtdzW8gUzdsEZM6wKV unrqGGfgghjzwrMjM2C0hhP/ljr1Sn0M4LfJX0iAE+XmprygaBciva2wDG3zmC2Zm7X6 GjPfPjAWENJERnBg5SZNvdvnGKqvajRhFikNEyDXPlWK8aySSqM/+Tet5is4T47o+xSs Ilqg== 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=s4rY8iyyS7sBRICmyvrBo0gMytTtU+NRzm3+j5+dM+k=; b=AKA6Bde8svVw98+GizptzXcy4/KYlwodMltTqnbbEsiQm5cr/xKv21lixwVhW/d04G D4Yei+cDHrXnmjKkYkGUgvOqUMr/cPB2EhU5d8mA92uTbEL6S/bL/8uQhFPhNhJlyMaE xzwphy41cl42LqcKDVDA2aexgt5HLpYgjGFEEhn7ia1kFxfDe6WDoQtY7oea1DerW6iK 4yVcocHJ3mzCrT1SiKOp1kKPRrNf6MbuzPMNck7/8B5KEMQqC41CYx0/+AqHGmAZJvjM D6K7ijO0uQ5Vt+lAFQxrIiUkH2siz9jWjUPQJuycVYqWhhyKuz69ZQP0ywdiXwjdvu6X 6sIg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 198-20020a6301cf000000b003816043ee32si1071841pgb.39.2022.03.16.22.40.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:40:54 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D5563179B2F; Wed, 16 Mar 2022 21:49:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349253AbiCQBmE (ORCPT + 99 others); Wed, 16 Mar 2022 21:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235641AbiCQBmD (ORCPT ); Wed, 16 Mar 2022 21:42:03 -0400 Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DE5110FE6 for ; Wed, 16 Mar 2022 18:40:47 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0V7PClT8_1647481244; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V7PClT8_1647481244) by smtp.aliyun-inc.com(127.0.0.1); Thu, 17 Mar 2022 09:40:44 +0800 From: Yang Li To: arve@android.com Cc: tkjos@android.com, maco@android.com, joel@joelfernandes.org, brauner@kernel.org, hridya@google.com, surenb@google.com, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] binder: Fix some kernel-doc comments Date: Thu, 17 Mar 2022 09:40:42 +0800 Message-Id: <20220317014042.126282-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=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/android/binder.c:1155: warning: expecting prototype for binder_dec_ref(). Prototype was for binder_dec_ref_olocked() instead drivers/android/binder.c:2683: warning: Function parameter or member 'procp' not described in 'binder_get_node_refs_for_txn' drivers/android/binder.c:2683: warning: Excess function parameter 'proc' description in 'binder_get_node_refs_for_txn' Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/android/binder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 8351c5638880..65e8145e6170 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -1143,7 +1143,7 @@ static int binder_inc_ref_olocked(struct binder_ref *ref, int strong, } /** - * binder_dec_ref() - dec the ref for given handle + * binder_dec_ref_olocked() - dec the ref for given handle * @ref: ref to be decremented * @strong: if true, strong decrement, else weak * @@ -2658,7 +2658,7 @@ static int binder_proc_transaction(struct binder_transaction *t, /** * binder_get_node_refs_for_txn() - Get required refs on node for txn * @node: struct binder_node for which to get refs - * @proc: returns @node->proc if valid + * @procp: returns @node->proc if valid * @error: if no @proc then returns BR_DEAD_REPLY * * User-space normally keeps the node alive when creating a transaction -- 2.20.1.7.g153144c