Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3477790ybg; Fri, 25 Oct 2019 04:51:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVxm9X19zHQLdTfPgD6LQh0ZLOrKtdJeOpHUsdn7AH+jGk8E6HiCvXnaKdt4g9h+z9kzs8 X-Received: by 2002:a17:907:2139:: with SMTP id qo25mr3026696ejb.207.1572004300314; Fri, 25 Oct 2019 04:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572004300; cv=none; d=google.com; s=arc-20160816; b=dQMkI1tYt9ToC0RzOHxzmZYO4OvSK2hshpLrCcfcynxMNBGasfQ2inZiiNqbvhYTLe zLODPzbGAEfo2AzdA0rjVIReT41I8FS4juoANgSN8OKY2r/9yrt2TqUULZVBkKvajk2L BAkGREzvqyWrnNKgpdViFzqYp8jD++wrQmGSqXaPonjzRN9cgjRiK1mbQTaGE5ydi3Hg TojxYQc9CznZrIonGPnKypl+Lm45g5CtSsT6bAUvS8OCukExTTYMXLQwospAFOUiCPJL Tzf80EG9oWbIp0rYxD9m4aIzgjgycye5EQ0HkPZ7+avOhjxrPTc+eJ+OrEJx5dsW5ovt TNZA== 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=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=PAMVs83mbpoXMSeoOzMoW9v9p6+Y1Ew5gi23ak3WN3uGAwo9G6HiBeAa/NkTTpB3N8 RNJvSrXMMl837KdM95rvtoe487jkMUuQHWE4kL1v+ZNvBHjruBtunV0oBa4ccRbG6QmL XSkXG4RCDhNPNAu9POtBa0K8INDdhNtbo+EnKAd496cjQ+0Zb6YOVCPDz+Ji/TZKNlDk 8HV1QiPCt6T3dLKNEX03AtK7fC/iZ6EN0EDUwx8+11lnaLhLuYszOQsuoaodXTYqtUq2 NfU97/XnlRNaJb6BIcTqH4X2YJQcs89X7ZioNVQDtpUCQ4wgU+9MYOqZGE4oGaXUJAKM 0YIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HEX+83ux; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jo12si1031025ejb.176.2019.10.25.04.51.15; Fri, 25 Oct 2019 04:51:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HEX+83ux; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387593AbfJXNYL (ORCPT + 99 others); Thu, 24 Oct 2019 09:24:11 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34289 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387516AbfJXNYL (ORCPT ); Thu, 24 Oct 2019 09:24:11 -0400 Received: by mail-wr1-f68.google.com with SMTP id t16so20942686wrr.1 for ; Thu, 24 Oct 2019 06:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=HEX+83uxGppuiEYtz0BN0OY3n15lrqBsTgXIjr1kLKborsEFlEAnqjvqySTWN/itZH 9idihEpi5ygJCZHTUr+Rahl0sdt7awAfiEiiNfh9YQajTDdzI7EGKq4SksUx7HFKsKTd eSPMddzNym/6WaTm1xoD0/0cOdAfXjnh0W4TP5yDcLOSCdeHVD/8Z+bgCQEIKJR0UEf8 pB+wbP6m5eSPhZKwfUGYK1M312r9+ytYS7VphNbLnyOGOayYrPH/O4pS0brzlfywDF4z HExQTP6sEthmV8PlnW9UUH2KsOz2a285tPkdU+ZBvp/raUtrnGt50m2PGelfYFYHGILF XUJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=bT3Gpa8rLfCTk2ZGJPUGMA+za+S1kdY8KiM0dZQHIVSaanoN+wDHNfHGYd//VFhLnq ty/m3MQ4qB7icNozRn7e3DFqG0+rp8mD7n4bA/OoDW3JXDyPvBlMMsSyZHEF0GI+VjD+ NdiVcd2dg5TpEuE6+f+wpe8QQVTH+c8aH2XFguhk96NCEMo7bnzXk5di1v36mdHx4RJF FAizTHi5TGUcbZyC1J65cn2aBtcGv3O+tmdwgTn/Qu8rrqDeQM8DjAw63TVkL0hABbkG CGDYIa3cpHdbmk1bL7/PeYPeWwlDV03UofLIDwcmn0uJPA+8Cz7ougRGRRA6+gmr4oQk o1XA== X-Gm-Message-State: APjAAAVnqRNtbRn+ech6ctloRWZBNCM7ifUptEQXQ7dv5IT+Q2qqJw8y NuhiJHuT/3hdS4ihvKaZL1ilwKO/W9trBuln X-Received: by 2002:a5d:4382:: with SMTP id i2mr3957338wrq.387.1571923448698; Thu, 24 Oct 2019 06:24:08 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id e3sm2346310wme.36.2019.10.24.06.24.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 06:24:07 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: Ard Biesheuvel , Herbert Xu , "David S. Miller" , Eric Biggers , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 11/27] crypto: nitrox - remove cra_type reference to ablkcipher Date: Thu, 24 Oct 2019 15:23:29 +0200 Message-Id: <20191024132345.5236-12-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191024132345.5236-1-ard.biesheuvel@linaro.org> References: <20191024132345.5236-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Setting the cra_type field is not necessary for skciphers, and ablkcipher will be removed, so drop the assignment from the nitrox driver. Signed-off-by: Ard Biesheuvel --- drivers/crypto/cavium/nitrox/nitrox_skcipher.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c index ec3aaadc6fd7..97af4d50d003 100644 --- a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c +++ b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c @@ -493,7 +493,6 @@ static struct skcipher_alg nitrox_skciphers[] = { { .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct nitrox_crypto_ctx), .cra_alignmask = 0, - .cra_type = &crypto_ablkcipher_type, .cra_module = THIS_MODULE, }, .min_keysize = AES_MIN_KEY_SIZE, -- 2.20.1