Received: by 10.192.165.148 with SMTP id m20csp5518135imm; Wed, 9 May 2018 06:23:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpSQcofFXUNSNZkBSCIZMBEloa49n6YNMtpcV6kTI2GQIuSAfu5IMWH7rF9hEtiMwq8jUxC X-Received: by 2002:a63:7405:: with SMTP id p5-v6mr30743844pgc.289.1525872230728; Wed, 09 May 2018 06:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525872230; cv=none; d=google.com; s=arc-20160816; b=wWXsqPnbLFjtGju/ero621gUhkajRKVGXvrhSb/vHEy2Zep50YkDgkvmNrfnpFSJhe WwxgSRPhBDOVCFlfZgIMTpM3eqLba3FCvG529EcYRVgeK7GONFjOLLK+RDIG+w3bMdrs 3qcGaIK+hKWQk32hmcZsNfhJ+XZRxNR6pqPQ70D8J5LElh9g0VBtar5jXh248tUWaThF UAds7E3MH/TaDcpqZikcZUQ+gphHlWA0+k02UD9lORX60Nlh9ULkNEOB4ZyhtVLvp6B0 l8pHHezYkC8CzKBBpLoY9ecRvO6QSAUQ6t/lM3xQSjFu2iyqnaIR8BFdlqRgAsE3b1PH ibWA== 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=OeYzrbW9XrVM5btIX9xL6FaMZ8TZinKTNKLEM3t01Jic8OaiUUSCOq2gFXoDEkeX58 0Zriykg3TxhV7DDHrXu1I2j9WvweaYDsyzU+pDOj0WSToXs6A2NgFXzBYA7GcQ9IIYg0 TvymgLOHowR8iMyz2VOgoEjGe0PPAwLIbBA5LZmWrtyNYWJALhy3piiQ2jquOGUwzTzI 390ZmMgoOTYeczcmLvT+Z6TwhGYdl7twYZqCxhEIsdtgG/lNbJB8zDQsy2dNeed6JpML Dq6Ax5421Q5fCXZZiCQSlCbP/PVRZ8miAgkAXh/mE+/HWk7POgSTu2QAiSIuDz70zs/O +bJw== 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 i64-v6si12157150pli.274.2018.05.09.06.23.35; Wed, 09 May 2018 06:23:50 -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 S935352AbeEINVq (ORCPT + 99 others); Wed, 9 May 2018 09:21:46 -0400 Received: from osg.samsung.com ([64.30.133.232]:46269 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935141AbeEINTO (ORCPT ); Wed, 9 May 2018 09:19:14 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 173522C24F; Wed, 9 May 2018 06:19:14 -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 bx-aZBIFVHBe; Wed, 9 May 2018 06:19:13 -0700 (PDT) Received: from smtp.s-opensource.com (177.41.96.165.dynamic.adsl.gvt.net.br [177.41.96.165]) by osg.samsung.com (Postfix) with ESMTPSA id B37012C221; Wed, 9 May 2018 06:19:10 -0700 (PDT) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.90_1) (envelope-from ) id 1fGOzs-0004OB-Nn; Wed, 09 May 2018 10:19:08 -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 v2 03/11] docs: crypto_engine.rst: Fix two parse warnings Date: Wed, 9 May 2018 10:18:46 -0300 Message-Id: <46ee2dca402578bb628dc8b8dac873b34451e0d1.1525870886.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