Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3365457rwo; Fri, 4 Aug 2023 03:58:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+PfvHtrwA9+8WXVI7IzB7aWtLAUy3KTxB6r8YSnXb2iJU7aDzXT4PgufF0NblOTX26+53 X-Received: by 2002:aa7:cb19:0:b0:522:4c7a:d5a9 with SMTP id s25-20020aa7cb19000000b005224c7ad5a9mr1117359edt.3.1691146691124; Fri, 04 Aug 2023 03:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691146691; cv=none; d=google.com; s=arc-20160816; b=dvW5Rx29/aeVSKyF5AVhr8TgMBae2jEtHToixvTsd+8vz9JwDNEIgl+yBZ0hGPwa8n JOMmV0XBPL3rKTfZ7Kxm3TQM00gGoAbK1bTYHB2Yp41gCr5JFysrGdNJ3FBQ0Ll/a4wY 3/GHCKbZnUAzfgfMG872xVn/Sdw+IBJMKmSyBJUyAvpraJP10zMkuf+RkkiJ3ll0dQjz RWW132WpOrjwBUoh2XOquOUoO72hS4sGHQjWpFe65CnFjtLoFoqyyq3q3X50+cc6G1TD tu+yxDq1QaFdeUSnfPVi9XwOhs8GApnxS5jcFOmiVWQivgyeHUQQxcPzAxWcVMJqW1Al /umQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6C/Qbli2Zycify8wDh3ADSZttDDgo+5kPxc6Fh/TjmA=; fh=XxaTlmIpB8G5M8cXR44Z9VEvqpqe6YzQ/MRJDhKrirA=; b=lYVc+RNcapw/fnFvRDhSf531m6GJenpfO+pCnt02ZhZFJ4svW1s7722c4rpwhFv8TU 1aSumTuyDNUcQOTN7uww9g8skAyt81Cmrszy4x6j93i74dW5/dd8nPv+ur5fRyUSc/+X Y8cnUUqztcNR9ZlrEiFuai+jTcMF9lptNxN+ZDtLk0DGUaZzKBAj/SlleYfocP1lKuWN NVCPPecc1teIahxtRbCMpiNY8TcyRnOsPgcAVEBIEeEA6dbdvF8rhrrh5JRJDYEThO71 DZLiijwVeadMkAIZbUDNfQIrUviXi5KkVGvh3V+iqF0dWP3TySIJ8OvHUddEtNfulCeV HY3Q== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f13-20020a056402160d00b005230276ee00si1425077edv.92.2023.08.04.03.57.46; Fri, 04 Aug 2023 03:58:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231438AbjHDKjJ (ORCPT + 99 others); Fri, 4 Aug 2023 06:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbjHDKjH (ORCPT ); Fri, 4 Aug 2023 06:39:07 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9FCD646B3; Fri, 4 Aug 2023 03:39:06 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id AF63880F7; Fri, 4 Aug 2023 10:39:04 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dave Gerlach , Dhruva Gole , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Kevin Hilman , Nishanth Menon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] bus: ti-sysc: Fix build warning for 64-bit build Date: Fri, 4 Aug 2023 13:38:57 +0300 Message-ID: <20230804103859.57458-1-tony@atomide.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 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 = (unsigned long)match->data; /* * Check and warn about possible old incomplete dtb. We now want to see -- 2.41.0