From patchwork Mon Mar 25 08:05:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Mosnacek X-Patchwork-Id: 10868153 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1D8E318A6 for ; Mon, 25 Mar 2019 08:06:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11CEE29257 for ; Mon, 25 Mar 2019 08:06:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 061C329265; Mon, 25 Mar 2019 08:06:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A216029261 for ; Mon, 25 Mar 2019 08:05:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729977AbfCYIF6 (ORCPT ); Mon, 25 Mar 2019 04:05:58 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39496 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729871AbfCYIF5 (ORCPT ); Mon, 25 Mar 2019 04:05:57 -0400 Received: by mail-wm1-f65.google.com with SMTP id t124so7893918wma.4 for ; Mon, 25 Mar 2019 01:05:56 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PcR1QBkNoiAmBRocGma/MllV/iXwsi82EaYy80ZwgYs=; b=EzGKWztcyL9iRuWU5/iPCieMi/lfRb59pmNAbenFaCLvxQ6Wi5AtwuUVJUUtBVPM3m njSp9hKvESPDwxjGH2pONYxcsDBCYUllvh6Z6BeHa8x7+xYUeKmmfhfQrWRg8a5D2dFg iQq9FsrSEMrjw6CiZcnXD73Cy5s2oh51S+Oz6xbXzbJDFRwQ/VwS1Eb5ehcRa2Vj568i gvMP9Ka2UxYufHt/AWuzBacSNwqxaZZpI3X1YUvVv/uCesj26DF6YIGU7HiZgX9nvVZq 3FUKj0fylEVNliYipc+SBPMaRak0qWHun/i1iT2iRmXvewATveA03iwzn3keHMFlYMKD hHnQ== X-Gm-Message-State: APjAAAVN7ebL79nMBF52bgJjrc/ivsDnVYP7q2TmfB2t31ydP+cBJZoX Rx3dQBjyZCQClhua2X7FOnuYwA== X-Google-Smtp-Source: APXvYqwSlVMt5qiHqwVXIYSdPb4Dr7j39pImsILBmzmomuHOr92UzaYAXgY4K4P6ExwvpQzTevKD7A== X-Received: by 2002:a1c:1d81:: with SMTP id d123mr4261572wmd.59.1553501156251; Mon, 25 Mar 2019 01:05:56 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id s12sm14151530wmj.42.2019.03.25.01.05.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 01:05:55 -0700 (PDT) From: Ondrej Mosnacek To: selinux@vger.kernel.org, Paul Moore Cc: Stephen Smalley , linux-security-module@vger.kernel.org, kbuild-all@01.org, Ondrej Mosnacek , kbuild test robot Subject: [PATCH] LSM: lsm_hooks.h - fix missing colon in docstring Date: Mon, 25 Mar 2019 09:05:35 +0100 Message-Id: <20190325080535.19475-1-omosnace@redhat.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <201903211834.Qtb0LJ32%lkp@intel.com> References: <201903211834.Qtb0LJ32%lkp@intel.com> MIME-Version: 1.0 Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Apparently without it it is incorrect syntax and causes a warning about undocumented struct field. Fixes: b230d5aba2d1 ("LSM: add new hook for kernfs node initialization") Reported-by: kbuild test robot Signed-off-by: Ondrej Mosnacek --- include/linux/lsm_hooks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 0dd5bda719e6..b987dc282d63 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -447,7 +447,7 @@ * * Security hooks for kernfs node operations * - * @kernfs_init_security + * @kernfs_init_security: * Initialize the security context of a newly created kernfs node based * on its own and its parent's attributes. *