Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2138419imm; Thu, 14 Jun 2018 09:18:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKzmWsalLIjc9fx88gdtUXPhCXvOw+ZQh10p6sWaA8zIRh/Mf4++nvfWS5eGB6m0oPvfNo7 X-Received: by 2002:a62:119d:: with SMTP id 29-v6mr10199401pfr.102.1528993086305; Thu, 14 Jun 2018 09:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528993086; cv=none; d=google.com; s=arc-20160816; b=BZWbWZ2oF+Zg/ZyLzgvnMYpEuNkOYMLTr5/Q9whptX5wkBxVmuM9hzEmukf7sZJqYF ApMNY7uDWlDB3lUbSlwAXatowUO/wn8STpjswDWnHk3ohuImxieiifiodTFfxnPT8w7U v2qO1KizYeRzObX3B0kSlHuEKRJ0T07du1FlthgrbjClm6VAVmSRqWuilQkSYMoKl1j5 97eOb815kveaRyxUZgifhyGZhGaDg7ZJWE8oCHRaJN94eowJ2wekc2Leh5TTcWsT4rL3 2RHYjuuhhgq+x9eML+yul/4ucR8kSyIxeHf6bHmvTWLgKp1vrmFbYgzzwr67x7mQev0T 20mA== 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=HeErZ4+hnbw3ICyNQ0nqZCVeqoxYJnn75S2TcosJzq8=; b=apCs9P4tSGEYvE2wknLBeYL2ZcwXKgSh8WyYE1nTlLL2ru/Hjdnfe7bYYzVdtYVsTY Isso4qqwIN8zDhafwAOLIzNPsSoT6wTcQcnaa0dS4TjyEC0V9ZS2izHHPmfXoeFWohgJ XcRw4sj4fvsBa4fpRZt+bWosWRAjKK8WVIEY6j0+S0zLSynCaG0D0fV1IVHXZo6gNwOq qq7oM1+/qgX3kWOUUN9JcDPWplG7XBoNWaILmd9A/SkzpmpbpMd0XI7nbMd8CWy7Agsg LrNoFsarKmEmo81bVPhhaDKhF8FqvDd/cE7TSlIq/V2v27gAJXnkgVjHG4QroPUNW4fo Z1oQ== 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 bh7-v6si2295294plb.367.2018.06.14.09.17.52; Thu, 14 Jun 2018 09:18:06 -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 S1755507AbeFNQJ2 (ORCPT + 99 others); Thu, 14 Jun 2018 12:09:28 -0400 Received: from osg.samsung.com ([64.30.133.232]:62311 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755243AbeFNQJZ (ORCPT ); Thu, 14 Jun 2018 12:09:25 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 1E33620F03; Thu, 14 Jun 2018 09:09:25 -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 vSYJRVf0XmIB; Thu, 14 Jun 2018 09:09:24 -0700 (PDT) Received: from smtp.s-opensource.com (177.41.114.220.dynamic.adsl.gvt.net.br [177.41.114.220]) by osg.samsung.com (Postfix) with ESMTPSA id 90B8D20EA6; Thu, 14 Jun 2018 09:09:16 -0700 (PDT) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.91) (envelope-from ) id 1fTUoD-0005SD-OQ; Thu, 14 Jun 2018 13:09:13 -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 v3 02/27] docs: crypto_engine.rst: Fix two parse warnings Date: Thu, 14 Jun 2018 13:08:47 -0300 Message-Id: <0e11caf5c0ebe261c7e6c134a5a6be83bcfaf8b8.1528990947.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.17.1 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.1