From patchwork Fri Aug 4 10:38:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 131096 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp180412vqb; Fri, 4 Aug 2023 04:04:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXgBHY9DTUtb1uMmVedubSQZjK3lXmT0oRrcOdiXMU+EsvxY/Neyf5zw1M6OpIHfckqKtA X-Received: by 2002:a05:6a20:a129:b0:132:86ea:4725 with SMTP id q41-20020a056a20a12900b0013286ea4725mr1287213pzk.45.1691147095299; Fri, 04 Aug 2023 04:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691147095; cv=none; d=google.com; s=arc-20160816; b=veHyRrpQh+zuxGZObqtN85POKWrwQWlA3zstzK1cIWXUn42xR2b/jZFdlFr0PYHK06 XYWvlqGzPkvsXGksTe21nIh6TgWNJ2ccuDXG3475VgSsJkq3OiAJPd7fXI6jdCofPMIk humw6JaQ9OPjYAMg9QiWm9G2C25Lqf5ILdbsKfH2tI4/tT564PtFUySrAuCN5Ug8tYod UBjOFUAEbQF2Hq0reaxsMxrino2ZhgYqZoWI9IwHwVLGZa1gc9y/KSK3m2GGRKthcH8R bECCn3Ae97BZKHScfvwC8j9dtazT0MjmSyUtJNF26VE36j54Vxktz6ZrWTMbhEeXSHCc FYig== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i23-20020aa78d97000000b006768627bc5asi1448238pfr.199.2023.08.04.04.04.30; Fri, 04 Aug 2023 04:04:55 -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 S231442AbjHDKjJ (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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773296256632784776 X-GMAIL-MSGID: 1773296256632784776 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 Reviewed-by: Dhruva Gole --- 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