Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2127531pxa; Mon, 17 Aug 2020 01:14:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8sKL2ZyS8p+zqX2IRyqeoBajyaoEUh8t/mZRs/SxLm36fLRzE1kuVHSOjjLQ5G7kgaK2e X-Received: by 2002:a50:fa94:: with SMTP id w20mr14357261edr.82.1597652080305; Mon, 17 Aug 2020 01:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597652080; cv=none; d=google.com; s=arc-20160816; b=0OA3UBnytXkD3X7BsqSKIr+euD5Y26vvjX+4xHYQUfyNQMPcRoJ8grBIxZTHanvueV 0X2oV/Eta88lST+Y57LEOJQ8vJ1185z1wLtbbO0Mx8IvNrvF8DQPng23/a7b/nZOV+lq WIxb30YJ/9Ij4n/jQVcsr2S1544YwEzQOzjbDG738Jdh1VC5PSj/gvoFfxg4jDKIN1aH THn9kdm1UYaSLkllvIOzQF0wM/77GxvPf/tf8OEHR2yIThSMQoWe8fF8Lh5fLLrimcyC U6n23dxvCaR67H7QdrYnuRu1P2OQZpkoADJLTmrPerJSrMNGUuSm/xYOhhw9hd28JpQf nOvA== 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:message-id:date :subject:cc:to:from:dkim-signature; bh=0lVeVyUi928a7/fzs7+FY0tXKdsKnkp78ZmUm5IzGsw=; b=zzpD5mmQwly7WgkO0pXNp1Hs0I7VSSw9RLTiN8wFoCDYGS8u2AiJBL3OyiecA7oZXF B8QSKhBlyU6wzh0J3F3qCE+q5AsBN//HbTFhJ4pGsrliKXHrFHA9P1Aj+R3CRMhdbSZZ 3xEsRwB5e8+1AGy0Qggab7SRhltqI6edAiBZj2j12nMqaZAg2n8pplZ3eVLG4LIaxBB4 hrD/vXlcA0PMc7K1zQUV56L2wv48qax3r/pdRkSpu/+fwizMsMmcvXK2Hhb2G3MttLe4 f1NgQ6zAgd2wlH24unt4kk+kfxbBjA7QZFkUCIHzbWwuSkcUFaIdI4dg/841iJUz26gv fcXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hQU4vn0G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 n2si10344293edy.473.2020.08.17.01.14.17; Mon, 17 Aug 2020 01:14:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=hQU4vn0G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727805AbgHQIK4 (ORCPT + 99 others); Mon, 17 Aug 2020 04:10:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727122AbgHQIKu (ORCPT ); Mon, 17 Aug 2020 04:10:50 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 971E5C061389 for ; Mon, 17 Aug 2020 01:10:50 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id 17so7850173pfw.9 for ; Mon, 17 Aug 2020 01:10:50 -0700 (PDT) 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; bh=0lVeVyUi928a7/fzs7+FY0tXKdsKnkp78ZmUm5IzGsw=; b=hQU4vn0G9qzRlCq6N+seXKFofQkuPKmULu4dD8/Hg7tm7u1tpybameqU+4C8/8NYLx hTCGmVlt+mhyfLFNFkwDYCFAKTNUWqG6fpFauhqiSwY93BJiDTh9xBJZO5t4OefFqIq4 to5E49yEXe+Gah/XLnEkfF2zg65G51qXM2REKPgJvRNaACb1/WqAM18QK8RcvJqRzBqE NNTvDPryPR9KRt9ocGHgk+qQq+DR3FD4bVP4e2mvo0gGGufCOEV7HgBZTPRBYQKGODUR obOoFk/pQpJ4cd2zjNT/NdUJA1bMPXhdGkFOjbEhoVpprDMmKcRlyLCmipfdMlD28lex Af9A== 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; bh=0lVeVyUi928a7/fzs7+FY0tXKdsKnkp78ZmUm5IzGsw=; b=E4/DsdUNC52CmUW5daI8IztG4btKBKmwdlDN8z0bx3nQHPV8nQvdhkH0bhf9aY7pOR 1FJ80jFrWvsEtxHTkBOBUFBMH1IddAWQp2F3s2/seTSL6ucUz43ecPrYpJDat6eygUXz a7tlljBGaXoEJ8+08ZhBJjARI1bBXC4WimGTJ7pWKo7/Ct47ekoAObkv0bPIIT0O1AzJ hhKWQ7/5Ks9V0ZtT7j5zNUJDCV57H6i+lo9ii4ry4bZIX8xZMZmnwfvFES7BDPPmAO0E fyse1Y9QNbF6uV4aciGyy/8+4K8iyszdcVH9ZfB5LO/YdSFM5V2ahiYW6HvpIEzv5qoT BlVw== X-Gm-Message-State: AOAM531azJEYok1kAR80ARK6PXk/aReBhZhEZAsnYJ9R0v1NGn//U6SM WQxeacJu0g1Z8n/KxbRKXhA= X-Received: by 2002:a62:8cd3:: with SMTP id m202mr10164425pfd.184.1597651850205; Mon, 17 Aug 2020 01:10:50 -0700 (PDT) Received: from localhost.localdomain ([49.207.202.98]) by smtp.gmail.com with ESMTPSA id 77sm18499751pfx.85.2020.08.17.01.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 01:10:49 -0700 (PDT) From: Allen Pais To: nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, ludovic.desroches@microchip.com, heiko@sntech.de, matthias.bgg@gmail.com Cc: keescook@chromium.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, inux-mediatek@lists.infradead.org, Allen Pais , Romain Perier Subject: [PATCH 10/19] crypto: ixp4xx: convert tasklets to use new tasklet_setup() API Date: Mon, 17 Aug 2020 13:39:32 +0530 Message-Id: <20200817080941.19227-11-allen.lkml@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200817080941.19227-1-allen.lkml@gmail.com> References: <20200817080941.19227-1-allen.lkml@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 f478bb0a566a..31a584940022 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.17.1