From patchwork Mon Jan 4 04:46:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonsoo Kim X-Patchwork-Id: 7945331 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E9D5FBEEE5 for ; Mon, 4 Jan 2016 04:48:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 238A82025A for ; Mon, 4 Jan 2016 04:48:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 56A142022A for ; Mon, 4 Jan 2016 04:48:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752706AbcADEsS (ORCPT ); Sun, 3 Jan 2016 23:48:18 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:36086 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752732AbcADErk (ORCPT ); Sun, 3 Jan 2016 23:47:40 -0500 Received: by mail-pf0-f179.google.com with SMTP id 65so150912587pff.3; Sun, 03 Jan 2016 20:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=b8p+tv75nVFMLyaHRt9qHYUQPomEaTpxoaS9Pbk0vqA=; b=eN8hjLi7N/S+s8eASNfAOJL+73VBmGwze8KRbieo3fcpEXhIWbiy01Ykx4uXkTukEj s+t551kC/qqSI5KknIAI+PC2R5rohLsX1edmGYuLcy/J4MiSE0/p52NecLTlruylh0zR m/QmPvEOtURidfNNhwNn+FPeWM3qUNlu/pL59dI30hxYCetP2C3SKjAIlSlJduHK+ImP emaqHuw3tg7T+pc4iKndKDw0ehoq57xefHb907bWRe75QeJBjqf4RTn2i+rgmmdizRms Jl5NQiE4WsA6Wn1Pnab5cTV5L3HbtVHvZQF96c4sILcHEiCkekkoJNEZSI7WmH0uhkhh dDsw== X-Received: by 10.98.89.207 with SMTP id k76mr107167981pfj.36.1451882860336; Sun, 03 Jan 2016 20:47:40 -0800 (PST) Received: from localhost.localdomain ([119.69.155.252]) by smtp.gmail.com with ESMTPSA id tu9sm122503374pac.0.2016.01.03.20.47.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Jan 2016 20:47:39 -0800 (PST) From: Joonsoo Kim X-Google-Original-From: Joonsoo Kim To: Herbert Xu Cc: "David S. Miller" , Weigang Li , Sergey Senozhatsky , Minchan Kim , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Joonsoo Kim Subject: [PATCH RFC 7/7] crypto/lzo: add CRYPTO_ALG_SCOMPRESS_DECOMP_NOCTX cra_flags Date: Mon, 4 Jan 2016 13:46:58 +0900 Message-Id: <1451882819-2810-8-git-send-email-iamjoonsoo.kim@lge.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1451882819-2810-1-git-send-email-iamjoonsoo.kim@lge.com> References: <1451882819-2810-1-git-send-email-iamjoonsoo.kim@lge.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Joonsoo Kim --- crypto/lzo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/lzo.c b/crypto/lzo.c index 47998e9..90afbf9 100644 --- a/crypto/lzo.c +++ b/crypto/lzo.c @@ -142,7 +142,8 @@ static struct scomp_alg scomp = { .base = { .cra_name = "lzo", .cra_driver_name= "lzo-scomp", - .cra_flags = CRYPTO_ALG_TYPE_SCOMPRESS, + .cra_flags = CRYPTO_ALG_TYPE_SCOMPRESS | + CRYPTO_ALG_SCOMPRESS_DECOMP_NOCTX, .cra_module = THIS_MODULE, } };