Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2020968pxb; Sat, 23 Jan 2021 13:51:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0Yxx0q+e/4qQUDFyL9HVhRhVgdLiDg55g8lwCr2AB9milhWTcFD73qbNCr4T42NTG0KGy X-Received: by 2002:a05:6402:18f:: with SMTP id r15mr326991edv.189.1611438691937; Sat, 23 Jan 2021 13:51:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611438691; cv=none; d=google.com; s=arc-20160816; b=IUZySX/Eg2/U0ejwP+5k2FymFNkoVCsevYGKkWCYE5nVaiqumOpHh9gVZStEHNJM7q mvZe0ZHW1TO/95VJjhIe6x9Eo1rlq7eRxk/BMnSm9MUZRLWAUSc4nNGfrTQ/KLdzpljw v5R51Bz2XqsNmqFZdt4Y3RLP8yZFmc0E2LOo7a+kRYlbMu6rOQt/t/DlxWE6HCd7XhiD Vxey9DNMijA0lfBjye1b34xxNEa1LHHTKddsZbAScSaUhIUqDSqF1JT9cqgUXl6X7cRm sR7nofmCJuUoEW14w3xckezomCpdeT+5OPTy8abIs71Mta/eayFaF22kt8AMQgwdTZF3 ckgw== 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=v/sWbS8R88OmqB0d4LX195kx65OR1XndiT5q/NMqDNU=; b=lcUxWKieW0KKPpB/mXw+OGhnKNPxNu/Z515ZYyp4ot/wd4+6+0b45wOGaay71SYvXk hSFkDdnyEL/oxzlIvVlkPL+KL32j45QRHGfDzInKSHKEjSTYXWAmOcGmI8HsklSA2Thp v8eEklPA53MXISqd07DeuYzjfphVFN35chMXjtQPJAgToP5k3oGxteeA9vmDIQABRbRy PKmWdQ5Y1cQ1PYiLo9xE00VVulIy6hO/d3LgxbOChRT7ct6c7zdr0x7XYC+BENZGe1cc tunMhNlEnOUGXg9j+rLXi+QZsYTgbSnQmi3//LOVSH2JFdohCSRfL8wJPVXYPt5Yy4b+ +mFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RNEL9CL7; 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 q26si5258665edt.415.2021.01.23.13.51.07; Sat, 23 Jan 2021 13:51:31 -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=RNEL9CL7; 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 S1725943AbhAWVtm (ORCPT + 99 others); Sat, 23 Jan 2021 16:49:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbhAWVtl (ORCPT ); Sat, 23 Jan 2021 16:49:41 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3042CC0613D6 for ; Sat, 23 Jan 2021 13:49:01 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id 6so12679001ejz.5 for ; Sat, 23 Jan 2021 13:49:01 -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=v/sWbS8R88OmqB0d4LX195kx65OR1XndiT5q/NMqDNU=; b=RNEL9CL7093KMxayaYtEhKDkWCQOpI+a2Agb/a31s5f/fYaZcdh1mPScrRoAvPAcfh lPXd1yUTaXUwwWvHOwJyY5Lq7gWaZ3fFmq+QiJz+rKJ3aRuf0oSpd3g7Arqyg9Cd8VfJ +7Ul6xC+1Qj5AhaLN/z3or4lmj3JR1lvZSNV9XP3CvJQcTlhkPBuCQWK8gVpx3e0SEmu LDU9xVZAgcYnWsz2piG5iWeaRRmy5CLbZjp+3u1bV8bgFBHEK4OmbCFCca4iAG9a0dea KtTiB1CpWHHESv/i/SK8w6bt1IKR0n3e84FK7NiR4ozfqVacb6fFeFpMxglYFj5TYJKG zFGw== 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=v/sWbS8R88OmqB0d4LX195kx65OR1XndiT5q/NMqDNU=; b=roeughmmjI8Vjsd3izSBlz5ko2vfsleZMPf50Gsr84nKPB1FqnfkZpTN5Ahg5e4aAi /zKoBa+pOx3Z69UCksaqc/cvSsGScO6Zp6qRz+rdR7eSpVAtu+ZT9gaAEk2NlDbsGwTo NoLtsx9XUOej0Z5T41UkIh1ONsAENlu2m/qVgRcwlZfdu97DVx0rPV3lMBIpgaLTTb+x d3Kf4vdfs4LvEWPRkeSl7epHB/S8TmXkjnKYxcTLyMnsFdmOBCsHT2D5Mw7ccmpLH0RL ZHF11PCU2yF3jPOMEOP6B1kLz+40rk5B7hq4B4LwrzT6MWCk3vMT30Du8owihBstVlZS QulQ== X-Gm-Message-State: AOAM533ePzVP69B0zknCpuxuE/0AylShvum7YypLFjI+7KBLzwZqt03G l3SVbkqKJYqoxzc7x5pfWV/0axtMiCy3aw== X-Received: by 2002:a17:906:dfce:: with SMTP id jt14mr244779ejc.435.1611438539816; Sat, 23 Jan 2021 13:48:59 -0800 (PST) Received: from stitch.. ([2a01:4262:1ab:c:d5f7:30cf:b95b:92d7]) by smtp.gmail.com with ESMTPSA id o4sm1480345edw.78.2021.01.23.13.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jan 2021 13:48:59 -0800 (PST) Sender: Emil Renner Berthing From: Emil Renner Berthing To: linux-kernel@vger.kernel.org Cc: Emil Renner Berthing , Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Dmitry Torokhov Subject: [PATCH] vt: keyboard, use new API for keyboard_tasklet Date: Sat, 23 Jan 2021 22:47:39 +0100 Message-Id: <20210123214739.2042-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 keyboard_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_DISABLED() rather than DECLARE_TASKLET_DISABLED_OLD(). Signed-off-by: Emil Renner Berthing --- drivers/tty/vt/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index 52922d21a49f..6c85f024bec4 100644 --- a/drivers/tty/vt/keyboard.c +++ b/drivers/tty/vt/keyboard.c @@ -1233,7 +1233,7 @@ void vt_kbd_con_stop(int console) * handle the scenario when keyboard handler is not registered yet * but we already getting updates from the VT to update led state. */ -static void kbd_bh(unsigned long dummy) +static void kbd_bh(struct tasklet_struct *unused) { unsigned int leds; unsigned long flags; @@ -1249,7 +1249,7 @@ static void kbd_bh(unsigned long dummy) } } -DECLARE_TASKLET_DISABLED_OLD(keyboard_tasklet, kbd_bh); +DECLARE_TASKLET_DISABLED(keyboard_tasklet, kbd_bh); #if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(CONFIG_ALPHA) ||\ defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_SPARC) ||\ -- 2.30.0