Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp527483ybi; Fri, 7 Jun 2019 12:04:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRmoLW/dplpD/0nTYL/29cm0447te/NdKsSqO8G1Ff2R/zC2ZROcU/GYNEt3fEoyL+Etxt X-Received: by 2002:a17:90a:7146:: with SMTP id g6mr7442602pjs.45.1559934245105; Fri, 07 Jun 2019 12:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559934245; cv=none; d=google.com; s=arc-20160816; b=Yq9gDPCviuRkpqtl+gGrf57QXGZP5QX6ll+QP6ofNFE+fVr20m7GLfeyQOx4uGK3lI C7rWw4gY8/kck/zAOSlzm0WvkdPG4D12sxJGrlTrDWVyR0IFtmS9bDe1T7lWMZrSDnRR N8iDQVHnA4K1QQ1uCQJI+3qOKHUtwBxyu1xKeyyPvLCW5aTKkAACXdKcgDw8CAP4WyVg To+7M/iTqsiX5aNvBklOgy8ep9GxfgejAY6nea8Djg2ZxKeAIKYLipv1cWDziVrRwb11 83S1RkDAyfhRQLNbs/5vAHofB3bXuAQLvldRqsNtHybwdKP/apPNhEQ590+v1wJY62hx UwhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uax00MhLlFpYA5SZzOVY82diwalzYA3SNqGmlnWlanE=; b=WSpGI48lKCaR7oOZjS2JNWiklbDrWTLHndEFPcT3MFx04op4YMXr4oXFhb5Ya23rBD GAUFGQwl0qbwst42kEwY/BuPuH1c62EAr3hz6VcyYB7f1LSMlHZ4qIX06RJjcZ06psr8 4ZWB/2UCQd+/Ac8uTs1AI0LdOsPH1CkCBxUknMq+tKolMEJKeT0mXhOnwuAx+92Sk7nl Iq6ASFtfmJhQHPNFPlp+4f361lxUpynwk2CI868KCZ1JyGQltUvbeu2N5eDCaTpMDr6P C6Bsi65Ff8HKx5RrZwnrxa0mVtsYVL1yt/rt3k8esdfrqlxS01ad1DD/sjCQAiFpbXKh 0MkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OhL+52Ky; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si2719777pgg.49.2019.06.07.12.03.49; Fri, 07 Jun 2019 12:04:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OhL+52Ky; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732156AbfFGSyn (ORCPT + 99 others); Fri, 7 Jun 2019 14:54:43 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42262 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728736AbfFGSyk (ORCPT ); Fri, 7 Jun 2019 14:54:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uax00MhLlFpYA5SZzOVY82diwalzYA3SNqGmlnWlanE=; b=OhL+52KyDBrHUieW2mIeoW0YJn 3JtcLkEizrq9O1igz+VxMEaMffmJkQpN5Lj5FAZzJ14g/KGgwLPNDPFjO8mjw6ZGLSAPpxAkJL2YP TTWsASrZeOqC83qtbUA1VzvrJKiHnKJ2u+RjHkWodKTAxQZcetk/eAq2Yq9ViOft9IA2c4vrENqNW hBBgzy6F7VMqGwNtTDEmoQeA+I6CzjBjOi0JftPJ5sVrArXthGMIWPCDNcewjz5/vEmS5XXLTMn9N 12S1smNQMWvnMFqLrd8i1ZMcGL8/iWAmto/v4NdV/uLEZ8/IILCXL7B0W1tNUPWGNI18MoZT7+ZrW DaB/++lw==; Received: from [179.181.119.115] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hZK0d-0005sb-JE; Fri, 07 Jun 2019 18:54:39 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hZK0b-0007FA-Ge; Fri, 07 Jun 2019 15:54:37 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , David Howells , keyrings@vger.kernel.org Subject: [PATCH v3 12/20] docs: security: core.rst: Fix several warnings Date: Fri, 7 Jun 2019 15:54:28 -0300 Message-Id: <8fb1ec1bbe34b0f5924b75204c26ba7f96f9e663.1559933665.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Multi-line literal markups only work when they're idented at the same level, with is not the case here: Documentation/security/keys/core.rst:1597: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1597: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1597: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1598: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1598: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Fix it by using a code-block instead. Signed-off-by: Mauro Carvalho Chehab --- Documentation/security/keys/core.rst | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst index 9521c4207f01..3fd60dcb2dc6 100644 --- a/Documentation/security/keys/core.rst +++ b/Documentation/security/keys/core.rst @@ -1594,10 +1594,12 @@ The structure has a number of fields, some of which are mandatory: attempted key link operation. If there is no match, -EINVAL is returned. - * ``int (*asym_eds_op)(struct kernel_pkey_params *params, - const void *in, void *out);`` - ``int (*asym_verify_signature)(struct kernel_pkey_params *params, - const void *in, const void *in2);`` + * ``asym_eds_op`` and ``asym_verify_signature``:: + + int (*asym_eds_op)(struct kernel_pkey_params *params, + const void *in, void *out); + int (*asym_verify_signature)(struct kernel_pkey_params *params, + const void *in, const void *in2); These methods are optional. If provided the first allows a key to be used to encrypt, decrypt or sign a blob of data, and the second allows a @@ -1662,8 +1664,10 @@ The structure has a number of fields, some of which are mandatory: required crypto isn't available. - * ``int (*asym_query)(const struct kernel_pkey_params *params, - struct kernel_pkey_query *info);`` + * ``asym_query``:: + + int (*asym_query)(const struct kernel_pkey_params *params, + struct kernel_pkey_query *info); This method is optional. If provided it allows information about the public or asymmetric key held in the key to be determined. -- 2.21.0