Message ID | 168712139395.404.6449837644292312630.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2634477vqr; Sun, 18 Jun 2023 13:50:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6t+JK0NZk6lh0XZ3ow9HKXkkIAFPQ+r9bByfgLBMS9S5R8uOQwvEYkxHS1oj8Ejx0HyRc7 X-Received: by 2002:a25:bccf:0:b0:bac:b478:d215 with SMTP id l15-20020a25bccf000000b00bacb478d215mr5884441ybm.9.1687121454003; Sun, 18 Jun 2023 13:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687121453; cv=none; d=google.com; s=arc-20160816; b=Nr5MWfcf8b0Xk+JFVO4Kv2o1S3P1xuwphNWwXk3e1WnVWsW/Ybyz4oKUw3kiUfS+Up dnkLuzsWuv+Wk0+effjKPBoQ0kWSo4BXcapgI3gnI2xmHd/ZFyvd4gzOYtbJ9KoiY8oB Qc7AkX0H4XvzZQLa2E2zzM/lGjuS3DPLIiv+pzOkW/n+Eh4ndZFfFX7MOejQpLy8Soh8 MQ3yxZjrOVCiaI9WkOcAIYrwA0UCldGVBJYY3V1yQ6Rqy21nxWCCMJZgjyCzgc2UbKAu Z51vo0tJwrc8qLM2CxsxiC+lZLM0UJmF53rqqU17Ynr1oTjZumb4hgopr9c5r/ib6Fns 4BvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=bkMtBEsz/9x+JYJV7sYVmdSjjMNpn9H56vxMP6g8o7M=; b=aMpz1pgzsT90A5PE1u42xAAuWU4OxaHNP0ZlQvSZjYAdznKl90Rjhmi9ARogat7T5w PkqAwztQD+pKmn6JfsyQVhpDZryBs9stL7ii9m20jXC3XxZBq7qZ2DLWxWj/YTwODAUH aboVcxIA6mtWjnuKEiiWmjdKoy3w/ETP1syRthHOaKP4vtlAd8I0pGz9DF697jfRnvSx kKNUt4tctywZRtHnEv0f8scqTxOk+QxPv8URcz9cq8+b+YdyFdkf9zbScSECkEjzShav SdnFAE3S1/zbN6zSeySo7jPbvOM8KtqVM6DBVIsllU2boNcCk3/2vA8wD+U1YrjTRQnj mkbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kVxfw3gt; dkim=neutral (no key) header.i=@linutronix.de header.b=g3i7VR8J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v2-20020a63ac02000000b00518f82d7053si20072721pge.493.2023.06.18.13.50.40; Sun, 18 Jun 2023 13:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kVxfw3gt; dkim=neutral (no key) header.i=@linutronix.de header.b=g3i7VR8J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjFRUuI (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Sun, 18 Jun 2023 16:50:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjFRUt4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 18 Jun 2023 16:49:56 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0BEEE4D; Sun, 18 Jun 2023 13:49:55 -0700 (PDT) Date: Sun, 18 Jun 2023 20:49:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687121394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bkMtBEsz/9x+JYJV7sYVmdSjjMNpn9H56vxMP6g8o7M=; b=kVxfw3gtIxOAAo/D1IjSjiSMr+BnWsqLtAm5xGUbvi9wOqwX8aEYspK/KQqcyjPMy3VL8E 0Y+pFU2sVIvLi2RjfaeSoRuAjYETFNLy5+dc7GmoJZV02QqQrBY/Syh5ve8mQv3g7iRZ7c 2DbFSAWzoHDU3YgTuYtWAsWsdLEgYvpvlXtnsmquQ1vq6ClPgG6WoMcgsdjpaLRzzf63x7 ftO1UPVhjcSsTi0bZXCoCdXY8KLKsMKPGMmgk61ulAF1F6oObzAfJn+SFmWWU/y9NOz5F8 J5HiAg5MRq5e/JxilX2oywg62z8KQWdOL2lSU+vqU75mpzRW8CkDinzbiQ/e3g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687121394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bkMtBEsz/9x+JYJV7sYVmdSjjMNpn9H56vxMP6g8o7M=; b=g3i7VR8J65CsBvq5v3bBOcuLsueQMLdblFrpLuwoYQgn/KAHG2O3xUzql+3sWiRMUX6IR0 7UpBDWvetGqAImCw== From: "tip-bot2 for Li zeming" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] alarmtimer: Remove unnecessary (void *) cast Cc: Li zeming <zeming@nfschina.com>, Thomas Gleixner <tglx@linutronix.de>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230609182059.4509-1-zeming@nfschina.com> References: <20230609182059.4509-1-zeming@nfschina.com> MIME-Version: 1.0 Message-ID: <168712139395.404.6449837644292312630.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768321438191355356?= X-GMAIL-MSGID: =?utf-8?q?1769075065722185021?= |
Series |
[tip:,timers/core] alarmtimer: Remove unnecessary (void *) cast
|
|
Commit Message
tip-bot2 for Thomas Gleixner
June 18, 2023, 8:49 p.m. UTC
The following commit has been merged into the timers/core branch of tip: Commit-ID: fc4b4d96f793c827a5abf23df3e793592dbd38ce Gitweb: https://git.kernel.org/tip/fc4b4d96f793c827a5abf23df3e793592dbd38ce Author: Li zeming <zeming@nfschina.com> AuthorDate: Sat, 10 Jun 2023 02:20:59 +08:00 Committer: Thomas Gleixner <tglx@linutronix.de> CommitterDate: Sun, 18 Jun 2023 22:41:53 +02:00 alarmtimer: Remove unnecessary (void *) cast Pointers of type void * do not require a type cast when they are assigned to a real pointer. Signed-off-by: Li zeming <zeming@nfschina.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230609182059.4509-1-zeming@nfschina.com --- kernel/time/alarmtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c index 09c9cde..8d9f13d 100644 --- a/kernel/time/alarmtimer.c +++ b/kernel/time/alarmtimer.c @@ -751,7 +751,7 @@ static int alarm_timer_create(struct k_itimer *new_timer) static enum alarmtimer_restart alarmtimer_nsleep_wakeup(struct alarm *alarm, ktime_t now) { - struct task_struct *task = (struct task_struct *)alarm->data; + struct task_struct *task = alarm->data; alarm->data = NULL; if (task)