Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp945672rda; Sun, 22 Oct 2023 18:12:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHW/lHqBGAtMCbUxragrBJ3agzoI+3OPsriIKvz8gHyHjBb0c70G/JMo0x/WeyIKZxczP31 X-Received: by 2002:a05:6870:114f:b0:1eb:7a0b:9ddd with SMTP id 15-20020a056870114f00b001eb7a0b9dddmr121855oag.5.1698023524624; Sun, 22 Oct 2023 18:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698023524; cv=none; d=google.com; s=arc-20160816; b=xH3YJfUeMxZ8wC3kjfiaoSPnauQAE3dxIAjoJ4pL5nS8kCafAzePblNxoNp9m0MkD+ dXvgsJNbulqtigHT1ywSg+gYzzUrAwn6oGBwcCDroUBAs25bN56hm0npLOHiof61CThZ EAeLSejWarkPqrOEdAT3bCGyqZao4zWiJNTLKC7ZqhBcngSIAeocGMga+p4vakAYBu7e cGIAxDCsDI/vsUkj8MmeWbHPmVUCIcYYZ2/LmdV0zjfLm6mCMgBl584hjSrXKYgxjRox PnW2aysxJwtGiQ+mo1jGc7IskZFB/kT37vGKo5+qqijVdA5TWFtBShLCgVyQsv7OH1vG Hlsg== 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=dTqwQ2zTYDcHO1OsXnPl0NDL3VTqDF1eKatC+SyU0DU=; fh=CsrrSYuaOy6XOars/dGdvSnPykGebxMPWt+wbxMWbTM=; b=OM3OZRK5247qXDVnTMTdQWhJ7ZiROBKGMw2myMiKOUYjQdJk+QpH2Jvy4SOJ8wytE6 a3qQ/31DxYQLD6elMREbGgEXz2/gH/MhEKJg5STqBFPD6EX9mIcw/7UOrJ+bBhQH5GFD QXXOfv+Vhfl8qcYOSJTbXUR0fuQIaIxZ53HC4QhUe1KkdTsuijhIX9IK7DqCMfAe3jIi eI+rJ+luzb2LZhLmD+IgKhU9CIg0EDeumsCmxm8TC1ZPbY6sl9Hb/LFJrvi8Uwar85UZ Sb5ZoI41RY9pODOzVvXeVRvTU1aNbrSEDIZ+Dx8IBiUO67BASO/JqB8P7511zu/ympPs 6c9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id j190-20020a638bc7000000b005b7f3f3ecc5si5748512pge.735.2023.10.22.18.12.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 18:12:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5748E807C579; Sun, 22 Oct 2023 18:11:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232968AbjJWBLd (ORCPT + 99 others); Sun, 22 Oct 2023 21:11:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbjJWBLc (ORCPT ); Sun, 22 Oct 2023 21:11:32 -0400 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0EB9F1; Sun, 22 Oct 2023 18:11:29 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0Vucq0a7_1698023486; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vucq0a7_1698023486) by smtp.aliyun-inc.com; Mon, 23 Oct 2023 09:11:26 +0800 From: Yang Li To: john.johansen@canonical.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com Cc: apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next 1/2] apparmor: Fix one kernel-doc comment Date: Mon, 23 Oct 2023 09:11:23 +0800 Message-Id: <20231023011124.19034-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=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Sun, 22 Oct 2023 18:11:58 -0700 (PDT) Fix one kernel-doc comment to silence the warnings: security/apparmor/domain.c:46: warning: Function parameter or member 'to_cred' not described in 'may_change_ptraced_domain' security/apparmor/domain.c:46: warning: Excess function parameter 'cred' description in 'may_change_ptraced_domain' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7036 Signed-off-by: Yang Li --- security/apparmor/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index ed4a13d44894..89fbeab4b33b 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c @@ -31,7 +31,7 @@ /** * may_change_ptraced_domain - check if can change profile on ptraced task - * @cred: cred of task changing domain + * @to_cred: cred of task changing domain * @to_label: profile to change to (NOT NULL) * @info: message if there is an error * -- 2.20.1.7.g153144c