Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5353094rwb; Wed, 9 Aug 2023 02:51:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2YXOriisXJcLsK6RMUmlpahA/eSfBYxMA2PAmPBjqI480OFYyN0WAqpQUc78Z8BiplJCL X-Received: by 2002:a05:6a00:a88:b0:668:753a:b150 with SMTP id b8-20020a056a000a8800b00668753ab150mr2143412pfl.21.1691574709536; Wed, 09 Aug 2023 02:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691574709; cv=none; d=google.com; s=arc-20160816; b=CAhFpztK+WbVtNCoBIExU0xA/xImFBbIhxQfdLVOSCmya5vYvqSaGdDZqBLNc0cJu2 wo1IfDB5RQ1li7zHIfdSjODVSt1IiI0YIwz53Q6xQHmLG+QnQIDh/kKV6efAfrtBSTxk bzcGLXFbag9QCgHEGkFyhQArGpBEY2Bcy9dwzVaGqNDmhYK55GEM+a7+ftGxOTXAd2b1 HtDVxmhT0BXdSr6g6ISJaakrnpGYS7mY+qu0afJX4oiUHafH0Ksg281m2ktkqy+rytZh yUWZY6L8dwbjSluyBvuUjaArByGqJJrUNQ4o1croBsmp8FeVWCmB7Vd3uBP9a0u7c1ap wUHA== 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=e/nnkvtaOZ4ysg5K9fZQnsJBqZ43AmRedjxMODdyPSQ=; fh=XxaTlmIpB8G5M8cXR44Z9VEvqpqe6YzQ/MRJDhKrirA=; b=C7/3tHT1b2oa9sqaHW5fmamMaKyxqfKlbS+o5dzV5JD6EF4AG0yILsY9idsV13+IZ/ 70TIOeDP7Qtd51bDQI2VikyxAYOOJEFLpJgbwxWCpKU50jfM/yVfdj+U0YZmaXK7jpLT D3ozpfbJg6F+zJQOOXaUAJ8owtQWzmWo2wX3kFDGfFTIMwW2DQ9gRQfcKpiAMIZ3gEpC eCp+V/8QpQiiInTMDlGRmEYdhrwvnzdkbOjCjVUTy3NRQaXB9Kv3UwiQksTLWZzwfSpf P2AzqG5EmLr1NWuM3x7EYqllCdFu9LA6v9UF8pHNBCt56b62Gu3eBiDAKH/qA8cS1SoH eiuw== 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 x184-20020a6386c1000000b0056539ddbe7asi602501pgd.834.2023.08.09.02.51.37; Wed, 09 Aug 2023 02:51:49 -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 S230241AbjHIJ1c (ORCPT + 99 others); Wed, 9 Aug 2023 05:27:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbjHIJ1a (ORCPT ); Wed, 9 Aug 2023 05:27:30 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 56E1719BC; Wed, 9 Aug 2023 02:27:30 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 5A4548105; Wed, 9 Aug 2023 09:27:28 +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 v2 1/3] bus: ti-sysc: Fix build warning for 64-bit build Date: Wed, 9 Aug 2023 12:27:20 +0300 Message-ID: <20230809092722.11000-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 = (enum sysc_soc)match->data; /* * Check and warn about possible old incomplete dtb. We now want to see -- 2.41.0