Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7555335rwl; Fri, 30 Dec 2022 10:08:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXtvneBAAk6r4Cg7RmA5d6IkehKa54p9sv415AuObaGpuNb14nEDsgZn9Kky3i6hUXKLlv1r X-Received: by 2002:a05:6a20:2d1e:b0:af:6f24:b154 with SMTP id g30-20020a056a202d1e00b000af6f24b154mr43292834pzl.60.1672423708047; Fri, 30 Dec 2022 10:08:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672423708; cv=none; d=google.com; s=arc-20160816; b=Olvp8pzjVgAh2fXA2BefXlygQRZqUAbz4oTFdsoFZrhNl7eOa3aJnMiibvsVzhxBPR AzY/4kKEYOhwjVyTsCrVZ7heiNzgAWylrEPZkchbulFZArctPu4oIYWP6Jp+JJt8BPFF 4bLkPM/fsRzbjXW6Lrcc8hsUfidjR1JM6+F/a0J7kI3YP4D60LLxInGg9oOOQ8Jpudvf fUTxjGgybk7itY5PDAgsqmxqPGmVptAiCAZD97nbB44qgOKnZISj5PnsfF2IZM1VHfra ruiE52cX+e2lRuejBJpN2pck12zc2Rp2iXK5ry8/oRlaUB8oFg/cAODoShVzMRQPZMJw VWaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=xYLCtR4Ac/mmtjLztahxRbwbCAFgfHsW5daj12ij5RA=; b=USjfRBKlHvaBEhZHn50GOpNepxOnq5NxS/cccwMvtYsJ2/37y2ZlgkkuD2XzXauCQq Lbz1d6fFC/eQpwo4f7/NgtCpYZHe+9BbbgBxA1dR3KfnZpI/Fulte9+Ph6wVLMjwmF+/ SoM1hiGwm5S0adsdAgIjp4/zce4NJsCgj9tnLuAXFGoxG5GfLkKxkiaVrPnF700Nc2Uh lxN2oxOMnPQfehZ+FTiUyBUtdTtYcUM7US6rIabGF3aZE5mnWmDziP4qmDo13Dx4aUpo 2Ijdg+o9n94vZoaUTicX+OHBnYOE1ljP4hcsf5laUbDp48vv7BPQzIXRGHURqmqtL3Jv L12g== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx6-20020a17090b4b0600b00223ea01e3fbsi5548764pjb.60.2022.12.30.10.08.11; Fri, 30 Dec 2022 10:08:28 -0800 (PST) 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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235313AbiL3R5p (ORCPT + 63 others); Fri, 30 Dec 2022 12:57:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiL3R5n (ORCPT ); Fri, 30 Dec 2022 12:57:43 -0500 Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3A0D13EA5; Fri, 30 Dec 2022 09:57:42 -0800 (PST) Received: by mail-io1-f47.google.com with SMTP id z126so454984iof.13; Fri, 30 Dec 2022 09:57:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xYLCtR4Ac/mmtjLztahxRbwbCAFgfHsW5daj12ij5RA=; b=V8T+/EEYEwuCkz7h53sTqBc8E1DO+Rme68TS12LpCIFu/enWbryQE8hfwekOBqyWva UQA+N+mkyUGhoQqyZ+RWeOrlrlZs3VLhn/OU56rz5VQ/bv6g8NBZFK7zuKaZxEN0r/hW KMtE7dh7jCh7GLQwrsgUNHYqdL/ZcpEeovaJUKVjScmaDS5YZJCfyEi6Rf9WlMa3DmRY PxCmb72HhPEqklidnnKYhCRu6BtlcGe+2t7LnQoNn0DFgavFaqFU0+H9/K2Xe6zLTbe1 fON/eugttYysmgIXZS+S8hO4R2nPS6GZkuSZ/VKOVcLWW1xSgPiCvl9Zh0RkyNIeOmM6 BlUA== X-Gm-Message-State: AFqh2kqROBIHyNjuq3V4dUGIHw2FutGtvUS1iCPJ3/qmDHzUWcDkqqAK ipJd7l2x+N449xYbBZ2DqaXKkE77gtowLGdxR7ybM9kc X-Received: by 2002:a02:9707:0:b0:396:2348:340e with SMTP id x7-20020a029707000000b003962348340emr3056256jai.195.1672423062302; Fri, 30 Dec 2022 09:57:42 -0800 (PST) MIME-Version: 1.0 References: <20221223090215.8704-1-zhoujie@nfschina.com> In-Reply-To: <20221223090215.8704-1-zhoujie@nfschina.com> From: "Rafael J. Wysocki" Date: Fri, 30 Dec 2022 18:57:30 +0100 Message-ID: Subject: Re: [PATCH] drivers/acpi:remove unnecessary (void*) conversions To: Zhou jie Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel.nfschina.com@lists.nfsmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 23, 2022 at 10:02 AM Zhou jie wrote: > > The void * type pointer does not need to be cast. > > Signed-off-by: Zhou jie > --- > drivers/acpi/processor_idle.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c > index 4556c86c3465..3be86d2f9098 100644 > --- a/drivers/acpi/processor_idle.c > +++ b/drivers/acpi/processor_idle.c > @@ -150,7 +150,7 @@ static void lapic_timer_check_state(int state, struct acpi_processor *pr, > > static void __lapic_timer_propagate_broadcast(void *arg) > { > - struct acpi_processor *pr = (struct acpi_processor *) arg; > + struct acpi_processor *pr = arg; > > if (pr->power.timer_broadcast_on_state < INT_MAX) > tick_broadcast_enable(); > -- Applied as 6.3 material with some edits in the subject and changelog, thanks!