From patchwork Sat Apr 24 11:18:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 12222553 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71339C433ED for ; Sat, 24 Apr 2021 11:18:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 449BA61476 for ; Sat, 24 Apr 2021 11:18:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231665AbhDXLSy (ORCPT ); Sat, 24 Apr 2021 07:18:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231490AbhDXLSx (ORCPT ); Sat, 24 Apr 2021 07:18:53 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB617C061574; Sat, 24 Apr 2021 04:18:13 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so2642465pjv.1; Sat, 24 Apr 2021 04:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=c5D467EjUrL3DZxzh5hff+LlbgHJxoTGzshACk+bFsU=; b=hgbXm/QQDi9i27vr93N0nUt6Ru9QS1/G+w+nFQ/OtRDTX48qNPL2ZUEiMejii7VxmT RrMgKOXJaZh0Q7Hc04o3qKOCUSzMvbo8+vGCmo6uPxecKCoE77MuZ58LJ5OLJrrCoAm3 f7d7HTWJ1gg6ElL5rS5BOYbLbT/AyteYhbrkOCRh6AeHLtpVYu8B5Zc4hCmktBkakAjF ztGY9aGKdv1vF3Vt203DiYTxzHaEV56GxjopfpJB0nyVujsO0rJ7prcLKaDYOOiFBdC9 C5j6vCIUjJZsNXiGUpwl6z76G7ZUF2BruhwX4zsCU2rl96mEMpmCXlU0Lq6oz8X+puzu ZEhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=c5D467EjUrL3DZxzh5hff+LlbgHJxoTGzshACk+bFsU=; b=r/QJRRI08pAyvp46Nn5viSoZEGM5XGyWFd9I3cG3Fn1M5ufs5i/5YFY6/QBOI07Hiz gjH+IThhMnJeT9ky9pTFjCgCbHakVu9hwnANJR5KMQtmveWTm3VBxhFlGEUmat97yewt waJ8NBBIwpGZnF079J5Ot9D4V1m+XKXlGnJORgJ9ZfkTSMsJ5ufZgnGQeTy3vwu77hWR x6vMa+9E4wTJ7vimwm7He8KohxwfDmojQn+w3tKPXxgRq/xxyzHQk5xyC/zLWeht01Ct 1UAYW3nBZjVSZQVrTaUJU2WH5DiUHbmUhJTGEUFYms9PagLzdI3ClcyltzoYUVenMbrq hyFg== X-Gm-Message-State: AOAM5310bmApmKzZ3f4CKDKH3RzpGOxXPV/E8t7qWjlaUD0q9WB64eJd C9OB7HrRJU6lqESt6Y3MVQI= X-Google-Smtp-Source: ABdhPJynSBPkMwpKCpf6OvHgJGWEiLCM4k7nOJdIFTd2nQq2sELu5jBSq9jgziV7Q5dRuN05pTjoBQ== X-Received: by 2002:a17:90a:1b62:: with SMTP id q89mr11344828pjq.54.1619263093163; Sat, 24 Apr 2021 04:18:13 -0700 (PDT) Received: from localhost.localdomain ([49.37.81.172]) by smtp.gmail.com with ESMTPSA id ne22sm10023280pjb.5.2021.04.24.04.18.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Apr 2021 04:18:12 -0700 (PDT) From: Souptick Joarder To: paul@paul-moore.com, stephen.smalley.work@gmail.com, eparis@parisplace.org Cc: selinux@vger.kernel.org, linux-kernel@vger.kernel.org, Souptick Joarder Subject: [PATCH] selinux: Corrected comment to match kernel-doc comment Date: Sat, 24 Apr 2021 16:48:05 +0530 Message-Id: <1619263085-5047-1-git-send-email-jrdr.linux@gmail.com> X-Mailer: git-send-email 1.9.1 Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org Kernel test robot throws below warning -> security/selinux/avc.c:822: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Updated the comment to align with kernel-doc comment. Reported-by: kernel test robot Signed-off-by: Souptick Joarder --- security/selinux/avc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/avc.c b/security/selinux/avc.c index ad451cf..04a886b 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -818,7 +818,7 @@ int __init avc_add_callback(int (*callback)(u32 event), u32 events) return rc; } -/** +/* * avc_update_node Update an AVC entry * @event : Updating event * @perms : Permission mask bits