From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33CF9EB64DD for ; Wed, 9 Aug 2023 11:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j7mMCXRvTr0sVCbVLBAkyLmgOQGaxVDo6rvjApuLsXE=; b=fUjz5w7o7tTxoK WjgrQVTKTYGs8HHP3KjWa2dOJ3TTKZSLvsHxwXZ5/LiY7B5Ue9Ej9U8CzyN+yNJB5MUUWj3RQFQFq ql1vqwNiBaLzJqGvhK9vKXzRd3qlBvU0iUDDDBkm1uBBu49HmaItPe5UzClX0D7nyLWb2hS5MyEJq AS9HWZuquf2ptN6QcdqZVP8hvMoa7rxmfMullfKUnJ/SG5yiPMvcf8pMZ34VJQTx6vhq74gRHbHZu dN+04D0JAH4j6nLYbioMZ/0tVp+fZmtvpZcS4xMDgoSweBZvWg8iBV2w85jIpUi/iTWq8jQP+TBWI 8O0j1OVIGrS9O4l6DF/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qThqO-004qJH-1Z; Wed, 09 Aug 2023 11:59:16 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qThqL-004qIj-2L for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 11:59:15 +0000 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-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230809_045913_846027_AB297DC7 X-CRM114-Status: GOOD ( 18.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel