Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5540355rwb; Wed, 9 Aug 2023 05:55:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFkPZNpi3pkhOAbMjfk0Q8G/U1q7jveE+v/WoWezn6G2cSae4g6o6BIbsMnozWkBwUFl9k+ X-Received: by 2002:a05:6870:8289:b0:1bb:4795:d6e4 with SMTP id q9-20020a056870828900b001bb4795d6e4mr3539062oae.29.1691585746569; Wed, 09 Aug 2023 05:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691585746; cv=none; d=google.com; s=arc-20160816; b=ur6jF2DccXZqgeD8n6rkkOmD8npc0bTg7/PDbyTGZ1kZH8Dmh1r3SVrDV/ACLRQEs3 DoeP7ev1ZakROBE4hz8zxQnvw2reSZrrsj/iTtviK+Sc3OSFKi2QxrZSdnEkDZQDSkLL e2VJXrpAWSLSlvmMM21W5MbvU5KB3A1YwMrugJK6QUz3zF7791hao3cLlpXsti8+w61x LctjWbNsT2biIq8e+JGukeBmtfV+yP1e4TPBpd+aocST4aKR7uFgJKaNekSEyRCQspoX GdEB+5j50BToFhv92YgbCOyuv/rGoE7jmL/yr0hDSy3u8Mi7M1YWy0b3ta6GoS7Aibw+ qZIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kToXo+UQzd1LpVpzddJaQZwgqU6zdLV3WIIXGUKaOjk=; fh=RmDsPaPwl/cYealoWOjRNDlUsUh0UaaTLqw/+c2nKxg=; b=FguaZ+Qv4ZTqIPKCGRjC8Nn/e9+Ko3VlcvRJvQRrNK7FtBh1pFe1UdLFuQLpIBKNZ2 rSHC8S1H/2gdRd/c+z3WVpNprjxE56IJpJEPiToCS2RzKFlJizXdeMZen+kEbKM3np5s zQkzLpMZn9srMmezPFOEuYKYj+m290PssBjTssiQTaQTlPdJwDUgM7J/naP0uKYO3SNu MDyZD8NWJwMsBRmkYg/IUPZ3TRxmSq8cqbzBHlFJMcVmJOjlf8HeaWHVc6NpZqkhWXkf 4iBRv90tVed6IK0S/+myv8ouvQLSwrs7uQ11utP+xvnffbHvZHLLEPtT8NpSc5nKfH34 ADjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pq7vW1SJ; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020a6567da000000b00565310b9b00si1703326pgs.158.2023.08.09.05.55.28; Wed, 09 Aug 2023 05:55:46 -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=@ti.com header.s=ti-com-17Q1 header.b=pq7vW1SJ; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231946AbjHIL7S (ORCPT + 99 others); Wed, 9 Aug 2023 07:59:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231886AbjHIL7Q (ORCPT ); Wed, 9 Aug 2023 07:59:16 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 810FC1BF7; Wed, 9 Aug 2023 04:59:15 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 379Bx8QD109712; Wed, 9 Aug 2023 06:59:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691582348; bh=kToXo+UQzd1LpVpzddJaQZwgqU6zdLV3WIIXGUKaOjk=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=pq7vW1SJb/CC/zE3FzdB6Wv/byJ96EzLvCQAkeCb1POX2RUeTZhCQaFYqhkezPof/ 6aO05AkP/5ALRV6YfYxp7U+ypDsEqtDRoHBmXW4fUueruTVH741pmdrew4tlyMetQz JNG2sNv4BiUtG+2aQ+LlXczaXJwM+LgtzsMmhi9Q= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 379Bx8gq024734 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 06:59:08 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 06:59:08 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 9 Aug 2023 06:59:08 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 379Bx8TL031210; Wed, 9 Aug 2023 06:59:08 -0500 Date: Wed, 9 Aug 2023 06:59:08 -0500 From: Nishanth Menon To: Tony Lindgren CC: , Dave Gerlach , Dhruva Gole , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Kevin Hilman , , Subject: Re: [PATCH v2 1/3] bus: ti-sysc: Fix build warning for 64-bit build Message-ID: <20230809115908.igf5s4vlp52b7y2s@kobold> References: <20230809092722.11000-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230809092722.11000-1-tony@atomide.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 On 12:27-20230809, Tony Lindgren wrote: > Fix "warning: cast from pointer to integer of different size" on 64-bit > builds. > > Note that this is a cosmetic fix at this point as the driver is not yet > used for 64-bit systems. > > Fixes: feaa8baee82a ("bus: ti-sysc: Implement SoC revision handling") > Signed-off-by: Tony Lindgren > --- > drivers/bus/ti-sysc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c > --- a/drivers/bus/ti-sysc.c > +++ b/drivers/bus/ti-sysc.c > @@ -3104,7 +3104,7 @@ static int sysc_init_static_data(struct sysc *ddata) > > match = soc_device_match(sysc_soc_match); > if (match && match->data) > - sysc_soc->soc = (int)match->data; > + sysc_soc->soc = (enum sysc_soc)match->data; > > /* > * Check and warn about possible old incomplete dtb. We now want to see > -- > 2.41.0 Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D