Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1955013pxb; Sat, 23 Jan 2021 11:05:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoxZrBryZ7HfVS3PADjsQaeretn2oPqELJoKwG8QIV2h0yWGIGlxYzu1SzFLxCPC9QUbv+ X-Received: by 2002:a05:6402:278a:: with SMTP id b10mr236048ede.347.1611428744075; Sat, 23 Jan 2021 11:05:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611428744; cv=none; d=google.com; s=arc-20160816; b=wu0gstgXmCBZoCt23wt4rzRb9eNwhQgi6xnrP7TbntaUGir7Hz6YalGSUAlWieOSfo 4bFp1wUhi7U/9/PzzLNzD6W1UtsfEn+HKuQf4PI5hPDodZszV1gOvclX8lxrUpxLEJSE ptHZTxVdPRFna/5TioAfmlQ2dfyrbWgNqhqj42Z08DDPdk/oGx/2wn2ClaEdH9PU/5Ye gAX9hlzqKhBPKgWnH02B67fRAE1Rp6JhQjPNIHpm+HzzUT9nFvPee+82zf7EtPEw0Pzm +0yx0lA6rX2QnVcUjvIejANLTizb5GHQjIe5W+o7PK8Z1K68A+juIR7uRHweUJzJDfzY 5D/g== 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 :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=vZSgThrW5ePPiaNhxbXHbBnitGKYkT074Mjl+LX4bGY=; b=awgeVFOx6trVP3KYJIK9zd2ocHyh2HEzPOEJpFWQFZmxPHuz6Xg6XBbHBV66v/IlWE Aa2rcdYYACikr99U8e4SHWXrqL/gGyxENbO1xaeaLmIVjBsryznsNoaN0Q8hJbDmW7Nl Dbzlwojr1552qmlVOmRVk1S+TffxnXJ1Q/IC4UR3tRThKo1IJM5TyXnxb+6Rw+xzp722 ZYvu04XkBvquaWsmZXXfd9s3hgERYYoC53tVTH8my2QZg4nir0nB8mo5UOqxcGZrb910 hvBIkrg1gKR8Hnl2KEUfe3bewAcoCvgBHI0/qmHLJMaHBpK6M6pTCE7eEU1CCtG8Q0ic PcsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Mv/0gxbo"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du8si4210916ejc.659.2021.01.23.11.05.20; Sat, 23 Jan 2021 11:05:44 -0800 (PST) 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="Mv/0gxbo"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725943AbhAWTCM (ORCPT + 99 others); Sat, 23 Jan 2021 14:02:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbhAWTCL (ORCPT ); Sat, 23 Jan 2021 14:02:11 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC837C06174A for ; Sat, 23 Jan 2021 11:01:30 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id c2so10200540edr.11 for ; Sat, 23 Jan 2021 11:01:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vZSgThrW5ePPiaNhxbXHbBnitGKYkT074Mjl+LX4bGY=; b=Mv/0gxbo50qb0O5joOOX94jVZprYnP04Qy/zCYZP4RIgDn5FgNOunE3KiNVPcMb9pm lALrNINKr/QuBqOAjIujrEY+nUF86w1gVfMKB0T+c34BQL/twOnrSt0yVXeXc258jxoV rsgspf0rgPZgvO11abD7sd/v9QRsflrbxzBuOHPndtP0bYOvYjd1NkXRnT6Kt9vOOS2S fMVRJtcO1WIeUVneV1irS7Ptop584nDFgeWf0ISPurPvud8uzulYABz7do61mg2/ChPk krMuBL6BVTVYsV0CP8JNNkrQ8NsdYMVi/vpLaYbTxIE80D9zKS+Jbba8PM6fnl4RIhtP z4AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=vZSgThrW5ePPiaNhxbXHbBnitGKYkT074Mjl+LX4bGY=; b=rOWF6rqIZOf/R+ECRSdDwmm98PqAlJr1g0Fuo1Tr7kqHup4hVU9R3Rm8FFFvG4N78G 2BzRijlRiyhP12Y14CZPypAf9f57eugkTtvORKUmrWPYsSntZe49yqmc6j4bRO1julZD GUMvdhYJCRDS2hfGu8L0bwabUaiFKxsK24BHvsoRG3rYw1mYzOcvA6llYxraoqYA6IqO 8MOeKuG8qXIRPbtgKubCJs/8RbEc/gKzs1DGjHN5n5BiXxk7vhKlVYpMOyrgQGiqOO/h eq5iY0YvAEo0yf6u7eGweOFXItv3c669555fM4hD1bv1a2XNnvfGkMftKeWh7uujIhpY HTdA== X-Gm-Message-State: AOAM533Gaz5+p9RM/0ggpDtt/DiV+QMZwIdRmXnZwhLNjua6ef5BZxZO osOY9zqu/9T+QanUGgZZZpUhUVbLg7jrGg== X-Received: by 2002:a50:9ee9:: with SMTP id a96mr1387208edf.343.1611428489647; Sat, 23 Jan 2021 11:01:29 -0800 (PST) Received: from stitch.. ([2a01:4262:1ab:c:78d8:2ef4:5ead:12bd]) by smtp.gmail.com with ESMTPSA id g21sm7731795edh.20.2021.01.23.11.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jan 2021 11:01:29 -0800 (PST) Sender: Emil Renner Berthing From: Emil Renner Berthing To: linux-kernel@vger.kernel.org Cc: Emil Renner Berthing , Thomas Gleixner , Kees Cook , Greg Kroah-Hartman Subject: [PATCH] kernel/backtracetest: use new API for backtrace tasklet Date: Sat, 23 Jan 2021 20:01:15 +0100 Message-Id: <20210123190115.7180-1-kernel@esmil.dk> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This converts the backtrace_tasklet to use the new API in commit 12cc923f1ccc ("tasklet: Introduce new initialization API") The new API changes the argument passed to the callback function, but fortunately the argument isn't used so it is straight forward to use DECLARE_TASKLET() rather than DECLARE_TASKLET_OLD(). Signed-off-by: Emil Renner Berthing --- kernel/backtracetest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/backtracetest.c b/kernel/backtracetest.c index 370217dd7e39..70a3da716f01 100644 --- a/kernel/backtracetest.c +++ b/kernel/backtracetest.c @@ -23,13 +23,13 @@ static void backtrace_test_normal(void) static DECLARE_COMPLETION(backtrace_work); -static void backtrace_test_irq_callback(unsigned long data) +static void backtrace_test_irq_callback(struct tasklet_struct *unused) { dump_stack(); complete(&backtrace_work); } -static DECLARE_TASKLET_OLD(backtrace_tasklet, &backtrace_test_irq_callback); +static DECLARE_TASKLET(backtrace_tasklet, backtrace_test_irq_callback); static void backtrace_test_irq(void) { -- 2.30.0