From patchwork Fri Mar 3 01:28:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 63714 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp169680wrd; Thu, 2 Mar 2023 17:38:31 -0800 (PST) X-Google-Smtp-Source: AK7set8uSSeEnJdF5dSO7QJavsPKZA3cu9gPTqg2wbcKUEIgcUqqQLAGbs+5qE5qRVYjfSzcgfh/ X-Received: by 2002:a05:6a00:8d:b0:5a8:a82a:bd8b with SMTP id c13-20020a056a00008d00b005a8a82abd8bmr461180pfj.20.1677807511641; Thu, 02 Mar 2023 17:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677807511; cv=none; d=google.com; s=arc-20160816; b=lSWVA3hNYZOzyYVl7fJUoCiWzCw5OF7f2TYddxqguzot/8Lp7mWlunNj6IfFdjUF8H MzjTEwF0n4s9iXCL7gzPja/Z1Avhtl20aS5ubDRrzwVIoqCLwZ3mislb9f0FB4bZxhAL BznZaSjNLH9+IYkZes+rC3x5c6ZmnXbEknx9K84cjU2tsJa8XqNRV2PNY7lrRE/O+1Ux kSk75apU7sdot0l36L7BPBnu+rqLqhVMiMPkiOzZgSZU0ztTN9sV/3xnXPhSGCXZqZU6 EpJtydVV3uwD//iE98PeZcMhc7DkvIFQl1hEYYoLJJjMFHgCb6ReSDCTHUfyVduw1RVi cNmg== 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=N1ysU5ZHSoNpa5c3K6W+HmkfgzOFvHCkBTKd5M1kkT8=; b=t5BrJB/5Il6c0BdlcWaIb6fBMedrtW7OVcGfpBKIGsjft6gqveyoBTHaRLfS3IR30h 7eTUmS3Lq8GCKkC5sxbnLbsO0vJjHmgBoRO48AcdiMRRhnJAAFBmcpIBujaWihKcplZL +058Fc1KJQXFxTEZhV3tlh0PLsnT0aLy4rYmJIG59F6pJIdvUW2Xbc9cBHUxm5iZCD2L vNw0rX/78gpT+P4zI82d5iBbhkgOYYhLDFp9jRcQzW9wBci5CMnJ8yTlT7uZzqqzFwG/ sn7hIUztJo0In4hPInaJm0vKh4L/IdHYuOKFrXg1/ittVO8jVfcsXlQNLbyzH8GWS98j /SGQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x25-20020aa79ad9000000b0058dc3db12fasi748736pfp.351.2023.03.02.17.38.16; Thu, 02 Mar 2023 17:38:31 -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 S229806AbjCCB2l (ORCPT + 99 others); Thu, 2 Mar 2023 20:28:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjCCB2k (ORCPT ); Thu, 2 Mar 2023 20:28:40 -0500 Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6B78173B; Thu, 2 Mar 2023 17:28:37 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0Vcyz2mq_1677806914; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vcyz2mq_1677806914) by smtp.aliyun-inc.com; Fri, 03 Mar 2023 09:28:35 +0800 From: Yang Li To: john.johansen@canonical.com Cc: paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] AppArmor: Fix some kernel-doc comments Date: Fri, 3 Mar 2023 09:28:33 +0800 Message-Id: <20230303012833.57690-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759308689241136473?= X-GMAIL-MSGID: =?utf-8?q?1759308689241136473?= Make the description of @table to @strs in function unpack_trans_table() to silence the warnings: security/apparmor/policy_unpack.c:456: warning: Function parameter or member 'strs' not described in 'unpack_trans_table' security/apparmor/policy_unpack.c:456: warning: Excess function parameter 'table' description in 'unpack_trans_table' Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4332 Signed-off-by: Yang Li Acked-by: John Johansen --- security/apparmor/policy_unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/apparmor/policy_unpack.c b/security/apparmor/policy_unpack.c index cf2ceec40b28..c3f44f1deb07 100644 --- a/security/apparmor/policy_unpack.c +++ b/security/apparmor/policy_unpack.c @@ -448,7 +448,7 @@ static struct aa_dfa *unpack_dfa(struct aa_ext *e, int flags) /** * unpack_trans_table - unpack a profile transition table * @e: serialized data extent information (NOT NULL) - * @table: str table to unpack to (NOT NULL) + * @strs: str table to unpack to (NOT NULL) * * Returns: true if table successfully unpacked or not present */