Received: by 10.192.165.148 with SMTP id m20csp2874224imm; Mon, 7 May 2018 02:39:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoszlB7ApySODtKVOTTrGzANMPPZ1wZfnINBAGbKQ35aBbHzc5Oglf2DXSqZjotlZJckuxK X-Received: by 2002:a63:740c:: with SMTP id p12-v6mr21807583pgc.259.1525685960405; Mon, 07 May 2018 02:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525685960; cv=none; d=google.com; s=arc-20160816; b=YgxoErb6v6IXxDOtSpnSFIPwn2p7pUBlT61CadxMuLfwbR8U+ofOMLAPB/rkXhZQSf H5R80J94mrZyWWDBIgl+ReeefDmLzoha/ENSmsIjA9StpIsResZlb5GX9u2zK7e5Y/W1 4EEPXRIN3O6yULpN2r8QMFqJ9+9s4SlJNe5lqbcDy4dEwffwwS1BNURHDQO5yQnw4FMR dvNq4tZ7MHorNYIN/meQuDr26xeCoKkyG/pWGdEtDoeFyoFxE7NP3HvNqlNKQw8tV/Tm HGakrRKke9zGTV8Gtp73cYlPRz0WMMtpbokyQJXUc76O10gRykR50uDffXaRRq4chfnu z05Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZZz0Vxd3A2jzVej2fDMNTCy7CvblSTO9sHQWxxlrSgY=; b=TzOCzeW7/h5oxXJEDkHvLx107rlzq2y6o1U5BeWHMyLW6ZC0lEOkfut9/7bT3TojsI 0Hrnx655BIYojMonneLdwNmiWKj3TfwIqrEoP0qPIbpfbyhccvhHhwNi/l8tmof1UUEF x2UPIHkuJotPD5vTFLErcebHyNHXJrG41LLZLsfsIH36EO3K705KQEuKbrpfTeXAyGqN RRYnLEaoGV1vmRFjpfqPj4v4YIcGs0KLbJw6qdc35sTMjXa3dN+bzYdASdNhgi6/AUgt btQdyTTKZzLfqEFWivmPEgc5i4Vwj+23djPPysZoFvJdRhfym8AR6RhaYOfnb0nHeW2R Tp4g== ARC-Authentication-Results: i=1; mx.google.com; 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 v7-v6si18163875pgq.608.2018.05.07.02.39.06; Mon, 07 May 2018 02:39:20 -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; 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 S1751135AbeEGJhs (ORCPT + 99 others); Mon, 7 May 2018 05:37:48 -0400 Received: from osg.samsung.com ([64.30.133.232]:65419 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752502AbeEGJgJ (ORCPT ); Mon, 7 May 2018 05:36:09 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 3C59423466; Mon, 7 May 2018 02:36:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k7t0DF2oYjd5; Mon, 7 May 2018 02:36:07 -0700 (PDT) Received: from smtp.s-opensource.com (177.41.109.86.dynamic.adsl.gvt.net.br [177.41.109.86]) by osg.samsung.com (Postfix) with ESMTPSA id 5D9DC233E9; Mon, 7 May 2018 02:36:01 -0700 (PDT) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.90_1) (envelope-from ) id 1fFcYp-00087o-0A; Mon, 07 May 2018 06:35:59 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org Subject: [PATCH 11/18] docs: crypto_engine.rst: Fix two parse warnings Date: Mon, 7 May 2018 06:35:47 -0300 Message-Id: <13511fdb708dc5319630b03c48e733eb4eb978d7.1525684985.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ./Documentation/crypto/crypto_engine.rst:13: WARNING: Unexpected indentation. ./Documentation/crypto/crypto_engine.rst:15: WARNING: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab --- Documentation/crypto/crypto_engine.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/crypto/crypto_engine.rst b/Documentation/crypto/crypto_engine.rst index 8272ac92a14f..1d56221dfe35 100644 --- a/Documentation/crypto/crypto_engine.rst +++ b/Documentation/crypto/crypto_engine.rst @@ -8,11 +8,13 @@ The crypto engine API (CE), is a crypto queue manager. Requirement ----------- -You have to put at start of your tfm_ctx the struct crypto_engine_ctx -struct your_tfm_ctx { +You have to put at start of your tfm_ctx the struct crypto_engine_ctx:: + + struct your_tfm_ctx { struct crypto_engine_ctx enginectx; ... -}; + }; + Why: Since CE manage only crypto_async_request, it cannot know the underlying request_type and so have access only on the TFM. So using container_of for accessing __ctx is impossible. -- 2.17.0