From patchwork Thu Oct 24 13:23:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 177480 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp2155791ocf; Thu, 24 Oct 2019 06:24:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeSJ7spr7qi7fyrS/PyfZC54QFcWaLMYdB6vrQqJnAwWHjHrpK9+0RvZdPIhZ9pWTJJbve X-Received: by 2002:a17:906:e296:: with SMTP id gg22mr20444186ejb.211.1571923452499; Thu, 24 Oct 2019 06:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571923452; cv=none; d=google.com; s=arc-20160816; b=JttofUvQ65aYCaVZ7jH1GUOiHAE8KIPOM5FlRQAqbCO5gAFJ4UtU2wyLzqCxtcVGPm fCX2CfPF9aUZuL37gfbKG06vKro1YjgsVhAb9kYtH0oHnhu6lNKJ1K1rb1iln/yFQESu 7qh7kAq0Uf+o1CM61/J7XaRKOInnU7+joseFbJQir82XaNOD4xjGUbQYbZxxb9xsn9Yz lfn+J43AHdxFxmvIE41fk1MzcFqCVlyz+RDBakQvWO+8Oq7fMUrUp+g+6sBFCo/08fz/ Wt/XfdddaTGEOxY5435deWgJH/WtkrLQfob7y44ber2krmnvDRaFIPLLJOjoDhKZ0irI M+WQ== 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 t7si8474084eji.439.2019.10.24.06.24.11; Thu, 24 Oct 2019 06:24:12 -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 + 3 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 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(-) -- 2.20.1 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,