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 9F0BCC001DB for ; Sat, 5 Aug 2023 05:18:28 +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=G3xj4L34hHLSeRrajIRvfjLsy+9Nq5yMS44112Xy8k0=; b=aHDCatm7cfQAoS Ixhkm0rY4uGOzFyoLti5EC9EJyb0jRutu9TOVuJlhnmbR8qwXiL8dHXMufQ/3qePUDCSxI9/Iu6Dc Xae8KyUG6mJABFHnOvg11mA2WJZqiyXj0O+8ij+cp8AItF7VX+IL+k/gJ25DpRodJRXnuO4HQHxN/ uznZjds6k4CJ6l5MRoVpq9nOSO/OWQkZ0DecBxZKCA5LbC0MkdO5C76HMqxRbJvlUkq5Attni+BHx NxpVYpsYKWsjZY/7QSupvdUAH0wnshTgBHlH4eaR5FN8bC5YAEMMBDiG1hzfT6vgQjYqEh5f7u1xC QGAeQ2X/MRLNfWF5Uzmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qS9fw-00Difv-1N; Sat, 05 Aug 2023 05:18:04 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qS9ft-00DifW-0l for linux-arm-kernel@lists.infradead.org; Sat, 05 Aug 2023 05:18:02 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3755Ht3L027356; Sat, 5 Aug 2023 00:17:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691212675; bh=nmjhEHZep/oXmNkPQODNKXEeYfXpxRtVizDyTuE0WZc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=LG1JROapnAYkGF1LJc3SEH/Qq1NoxpL7n0KH1+fMU+3mdNffZ6K2lYv1exYz9GX5B +urC5opnaMrVWk97z6nmuM9PQNt4b7uIj9M8i7+gqo6vGBUgF8GFreT9dyJCS36RcK /TuV85xTBC6bdN+HmvF96v/m6VbE6uABqlgER6hY= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3755Htc9098555 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 5 Aug 2023 00:17:55 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 5 Aug 2023 00:17:54 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE103.ent.ti.com (10.64.6.24) 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; Sat, 5 Aug 2023 00:17:54 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3755HrAx022718; Sat, 5 Aug 2023 00:17:54 -0500 Date: Sat, 5 Aug 2023 10:47:53 +0530 From: Dhruva Gole To: Tony Lindgren CC: , Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Kevin Hilman , Nishanth Menon , , Subject: Re: [PATCH 1/3] bus: ti-sysc: Fix build warning for 64-bit build Message-ID: <20230805051753.vpwhg52zttpbbntx@dhruva> References: <20230804103859.57458-1-tony@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230804103859.57458-1-tony@atomide.com> 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-20230804_221801_341356_702D6898 X-CRM114-Status: GOOD ( 19.09 ) 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 Hi Tony, On Aug 04, 2023 at 13:38:57 +0300, Tony Lindgren wrote: > Fix "warning: cast from pointer to integer of different size" on 64-bit > builds. Thanks for enabling this on 64 bit, will help us in K3 SOCs. > > 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 = (unsigned long)match->data; Reviewed-by: Dhruva Gole > > /* > * Check and warn about possible old incomplete dtb. We now want to see > -- > 2.41.0 -- Best regards, Dhruva Gole _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel