Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp740432pxb; Wed, 20 Jan 2021 20:46:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxF7KbpruuNIhWUCk8FCml/2ojfMY+jItn7qJ1tG2GssWS8KHahXRuWsmvho2JChzZCGuiY X-Received: by 2002:a17:906:d98:: with SMTP id m24mr7752720eji.428.1611204393785; Wed, 20 Jan 2021 20:46:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611204393; cv=none; d=google.com; s=arc-20160816; b=uU4uAdrDob3xQyqmcOAcYxQNev058k2YkXgKviVOx1YrVCBEnaEpTVpRBjkS5ItjD7 4KO/RsS9ZPwT8Lwb8IzQWpGFIaJDRv14vWYE0MU3k8ujuR0y/Rr19zSYRBWDJEEjlO7+ 4Q+FZL3/W7XGWsdT2/+ZLVkXnw7YpDDBNO1FrY3DbM3ZXOrpU/spSYvGq27ShytGk7Ye 4ezJBtwvy/7bBPLi3C0wV333ePk37hvda9adfbCbcsK78+rxAcpXRgt+DsM14iiNy6D2 yhMkeH4uHMZq76+JgfWBcB6ZDDs4IY6cQNFXbbuOhXEHe3jPAOpC3EZeIkO7dulW3jH6 Htnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1e1njK4JCLyF4BWRntmeMNLMXKX/535/WykRDF+9nqU=; b=MRkefhm6d7L4gGeeZvbwM0v+2Y4AjKPqusMT+FNL8IwmrPC11eFEnr/XtL9IZ1u/6o sh38IEdktSyl7Wn3X5mqbT/IIAqEuqUYMWM9uKGif59qZn7st0J5L/h91B/jh22E5PPh k/D34etdz16jViHjWZPAwSgrmbDBzTwQkz9ukVRIF1u4l4QZj4zYgErGzYJ4WJrK+nFK adLykGljKh21LIT9sSgkt1cw2WlSBgfYTgLqT1J8u4GJb4c4MLOsdsieX0ksBiAAbcfh UW25Mgs9hFQoXucAlXLrjHW2bkZwWZs6GQmrq3V3BLFBzfCk/HnUwXwHzuFsZwczplEg RQvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=topJBmTZ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j27si1643194edj.268.2021.01.20.20.46.11; Wed, 20 Jan 2021 20:46:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=topJBmTZ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728457AbhAUEpB (ORCPT + 99 others); Wed, 20 Jan 2021 23:45:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726944AbhAUEoI (ORCPT ); Wed, 20 Jan 2021 23:44:08 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62A7FC061793; Wed, 20 Jan 2021 20:43:28 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id be12so596820plb.4; Wed, 20 Jan 2021 20:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1e1njK4JCLyF4BWRntmeMNLMXKX/535/WykRDF+9nqU=; b=topJBmTZuunqbvTDzVdkBfh9P8KCyWEnAtWWRNR9932PVRZx3eYWs3SxndCP1iHYi8 WR7bGw+WjM4BMLhKJNR5CtmbFMfX7ZNVRn7NVu34LQsll2C29ne2NjiI67aPjyGNBJgd lsNuO8pBwS2moiAgBFO1EtsMwvx2F/9sX4RUIy1gqAAkctztFwAjMsjL5AnYx7MwDNsm TdrFx1WT+Ys7g3fgcVaXuUqrVVn22GLSI6Lde/kroqU1rDx70K45VNqKIrBiFot2F177 w/ZN43BAAdbW7968mn8kZy6TBVfg1oVMQRu62HY5VMUC4Psy/axK/+LQv0dOyMmY1eHT ufeQ== 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=1e1njK4JCLyF4BWRntmeMNLMXKX/535/WykRDF+9nqU=; b=VLmoUnptFrcPN84xaWWd0FE8n4b/DOc5CJpf1peP6ynj1eOmHfmmTeWSD1zaEMmSfU buktDFGPn2T/3/IKzzc0zm+XyAJKg1AfvLFfuXaV6xDy+whOXnvVJ0RGqLEqsHJ8egJR taSFF8URmxMo/VxYBAkaA5zrjC1Jh69oIWf1VgL9cO7G0gKqJZ2A5qskQOjK65/bkWfL b8rZbS0k5O5HcMGBtDD9xekQnLKlnCTCi5PF7cPQaaii3PuGIFhXb1Z6NDxqg4YvSSAu Hs+G7q5ldtUrVKvsXS/P+TDJkjycvskYJHzR+1HxIklrTquv6B8hcPUBEtiBQWWw/r9b eMrQ== X-Gm-Message-State: AOAM5316uXNuVkhcY/5Vk53nyyojOzeVnOML7xyg3/8SvYeHfuZU9ZfB bpuDp1RYMk3/jrb/j44QURA= X-Received: by 2002:a17:90b:11d8:: with SMTP id gv24mr9468737pjb.232.1611204207952; Wed, 20 Jan 2021 20:43:27 -0800 (PST) Received: from localhost.localdomain ([49.207.210.174]) by smtp.gmail.com with ESMTPSA id jx15sm3916014pjb.17.2021.01.20.20.43.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 20:43:27 -0800 (PST) From: Allen Pais To: herbert@gondor.apana.org.au Cc: davem@davemloft.net, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, ludovic.desroches@microchip.com, jesper.nilsson@axis.com, lars.persson@axis.com, horia.geanta@nxp.com, aymen.sghaier@nxp.com, gcherian@marvell.com, thomas.lendacky@amd.com, john.allen@amd.com, gilad@benyossef.com, bbrezillon@kernel.org, arno@natisbad.org, schalla@marvell.com, matthias.bgg@gmail.com, jamie@jamieiles.com, giovanni.cabiddu@intel.com, heiko@sntech.de, krzk@kernel.org, vz@mleia.com, k.konieczny@samsung.com, linux-crypto@vger.kernel.org, linux-mediatek@lists.infradead.org, qat-linux@intel.com, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Allen Pais , Romain Perier Subject: [PATCH v4 10/19] crypto: ixp4xx: convert tasklets to use new tasklet_setup() API Date: Thu, 21 Jan 2021 10:11:17 +0530 Message-Id: <20210121044126.152274-11-allen.lkml@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210121044126.152274-1-allen.lkml@gmail.com> References: <20210121044126.152274-1-allen.lkml@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Allen Pais In preparation for unconditionally passing the struct tasklet_struct pointer to all tasklet callbacks, switch to using the new tasklet_setup() and from_tasklet() to pass the tasklet pointer explicitly. Signed-off-by: Romain Perier Signed-off-by: Allen Pais --- drivers/crypto/ixp4xx_crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ixp4xx_crypto.c b/drivers/crypto/ixp4xx_crypto.c index 8b0f17fc09fb..b783ab58d718 100644 --- a/drivers/crypto/ixp4xx_crypto.c +++ b/drivers/crypto/ixp4xx_crypto.c @@ -414,7 +414,7 @@ static void irqhandler(void *_unused) tasklet_schedule(&crypto_done_tasklet); } -static void crypto_done_action(unsigned long arg) +static void crypto_done_action(struct tasklet_struct *unused) { int i; @@ -497,7 +497,7 @@ static int init_ixp_crypto(struct device *dev) goto err; } qmgr_set_irq(RECV_QID, QUEUE_IRQ_SRC_NOT_EMPTY, irqhandler, NULL); - tasklet_init(&crypto_done_tasklet, crypto_done_action, 0); + tasklet_setup(&crypto_done_tasklet, crypto_done_action); qmgr_enable_irq(RECV_QID); return 0; -- 2.25.1