Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp869382rwe; Thu, 1 Sep 2022 08:48:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Mht5/UcSKBsFte1U5DB0+6YzGu9jIoDsd1MKmhYVxBR3GAd0LCnYeUqWYCNYHMFPEw6Yc X-Received: by 2002:a17:907:160d:b0:741:a253:422f with SMTP id hb13-20020a170907160d00b00741a253422fmr11526508ejc.640.1662047332474; Thu, 01 Sep 2022 08:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662047332; cv=none; d=google.com; s=arc-20160816; b=Q30fl3cHrWglf967GIHlI1BB8ODF9Q3CKKrTwk/JQSa4QE3gCFqKzeef7yLxrdl49Z Y74XFk+J+ZJuzd7v6+Xl+DWdBoMeYhfIgUY33tMIWF0OK8yKrHvFDUuvyl9BDOz8ynz1 XYkyxKmJfR4StlOYfxHOWKA8Vi6zd7QYqnGxjmdjXoKc8LmRbFgVJvTHaw5MDxv+lyC3 pudWV5QC1JV2xgeY65UJgs3O62Okck46ETCLIgX/n8o7ZDHxAYHzjG4qHDEHZF1+HsqP BF6hhcutfif13YZvQnWkm4PodEGDcgKEYSDnGbxf+pv1Zc6Fbgtkcl7cZIWbbYWvR9/q ED1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BoGf59hOampb5HCumLLSOAlkqzHK6UnMybBZlK+tHP4=; b=ALJxeMsaD8QsHtZ65EVI+44P/oZMW2h+ZYXxbxz5hlrqe3UvxOxgHlOqv6mFCJqbqW ++MVSGHWZ1SK4I2dpMJJ9i9M3DXMhlUx8LFn7xD4dB2bPAmE3HjRF72WcDlScq1VmEcP TB9izTjkqOCw+slFgKBg8zh3AgGtAKL2oSKZPl9KktIiIOMhRd4dvQH+WhVqBheOaK8Q 8ctU56srvr/b2hoHbCgQaZeSSlxMyDNYX9K2ndUQeomRbvh+B0KuntZaSkLdlK1nDZQs PKtcV7G+wRlS1oo7CONMT6cr20TsTosHUoZ4ib6ywXtbzE/qZoSVsfCXaMhRxNDKNQiL pWaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ATobOqmi; 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 kk24-20020a170907767800b0073d80c9dc85si10862563ejc.459.2022.09.01.08.48.26; Thu, 01 Sep 2022 08:48:52 -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=@kernel.org header.s=k20201202 header.b=ATobOqmi; 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 S232649AbiIAOu2 (ORCPT + 99 others); Thu, 1 Sep 2022 10:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231484AbiIAOu0 (ORCPT ); Thu, 1 Sep 2022 10:50:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B68627154 for ; Thu, 1 Sep 2022 07:50:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1656EB826EA for ; Thu, 1 Sep 2022 14:50:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 333C7C433C1; Thu, 1 Sep 2022 14:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662043822; bh=BoGf59hOampb5HCumLLSOAlkqzHK6UnMybBZlK+tHP4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ATobOqmi+scsqk63XtfRbw1ZYT8b4n8ZIZY2MPGNMYe3ypjEJCA9eA0Hi7lWBxWsn VlMseG+KF0YTL6Gy3cLZTJ+9WT7A//v2vJTQHFIVYJV3SuacGiGE44yTgFO1SFHB2t 2CFVeYvI3vMcDfy/AeKs+hE//sXCp9pOXm0OKEGP/jzlgOpkQ2kB+QWNv7F+hP7x7a XDuPC0I5vtkKGTaJYxtNmtanHGjpYwZwFJgdGZxllF5p1FCO0do0PWkeA3O9B9THto 8xwfo880dsheRu1mKVcrX5H5tSVdMw/82XZ+ONUhap7yPwf/AWbR9bmI84jFrXQycq ozQWebVf3e+jg== Date: Thu, 1 Sep 2022 15:50:17 +0100 From: Mark Brown To: Steven Rostedt Cc: Andy Shevchenko , Andy Shevchenko , Dmitry Rokosov , Linux Kernel Mailing List , Greg Kroah-Hartman , "Rafael J. Wysocki" Subject: Re: [PATCH v1 2/3] regmap: trace: Remove explicit castings Message-ID: References: <20220901132336.33234-1-andriy.shevchenko@linux.intel.com> <20220901132336.33234-2-andriy.shevchenko@linux.intel.com> <20220901104601.01773fb8@gandalf.local.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PzN2XMb6HYYWhfeJ" Content-Disposition: inline In-Reply-To: <20220901104601.01773fb8@gandalf.local.home> X-Cookie: This bag is recyclable. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org --PzN2XMb6HYYWhfeJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 01, 2022 at 10:46:01AM -0400, Steven Rostedt wrote: > Andy Shevchenko wrote: > > Perhaps that (dark) magic disappeared a long time ago since in my > > practice of adding trace events this is the first (and probably > > oldest) one which has these castings. Perhaps Steven can shed a light. > There was no dark magic for those castings. The trace events never needed > them. It was added from the original commit: > fb2736bbaee0e ("regmap: Add basic tracepoints") Right, they were added in the original commit because as far as I could tell at that time they were needed for things to build (or possibly build cleanly, it's been a while). --PzN2XMb6HYYWhfeJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmMQxqgACgkQJNaLcl1U h9Cqvwf7BfUoPtz5b+L8B95REcq9gP1zV0/53V7vfzwKjVt5RTLwxXZHUZNK1jcT pvvNN8ryljfqTGBmmyBAum4Xle04WiLXfXy1CBOjLVuvEzYZmRoWBenJbBn0rVmp 9K3ne1z/tIfE7K0/rJk9s6fw+ijX/iA3VI6m0NZk9APU/IOt3TtSk5PB8mWD9epg Rtl7jDmR4KbpXqM7RHuUAnVkH/xLEqkdb0knDJY64eNonIo4pPl4Z4FrU/hSZesB KUoANp+ftIYyARoJ+xlCuH7fkAseC/oh62v6grqMv7dqytZbYJH8ucPcttBZ+HNY mx3gZq9U6hSnDcLxIPOwiUdOYKK/FQ== =mKQL -----END PGP SIGNATURE----- --PzN2XMb6HYYWhfeJ--