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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D5A2C433B4 for ; Tue, 6 Apr 2021 06:34:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BC246128B for ; Tue, 6 Apr 2021 06:34:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239088AbhDFGes (ORCPT ); Tue, 6 Apr 2021 02:34:48 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:48801 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239006AbhDFGer (ORCPT ); Tue, 6 Apr 2021 02:34:47 -0400 Received: from mail-wr1-f71.google.com ([209.85.221.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lTfIM-0000P1-1q for linux-next@vger.kernel.org; Tue, 06 Apr 2021 06:34:38 +0000 Received: by mail-wr1-f71.google.com with SMTP id j4so9449421wru.20 for ; Mon, 05 Apr 2021 23:34:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BMxd/x1G6zBfvDxJ8kpKT8eMUVA7SyyKTi5pE6J4kM8=; b=djMDtMVeynyx+Olw4q+EJNv+xQ1WITvI4gP3xEW2k7eiXA66EqbKsNsKmyzhimiHNv 64Eq+M/h5IdxRhg/NXQuDbeiFXwXjVZrjrwxeHi2ZMeqJWTmyVGh5tR5oNQ5SZMShp5b rmm3GhfJsZ/j7tuFd74f53GUJI339guSFPKPjMAHPIs1mgDudvBnU5oA1ihEcGYDZl4Q 83WOumQH1yFo8G48NsZVWozzx1lWioeYS0W98LBeGFZpDgQXntpeDP3qr2xvtwIkmIJA kcPYSgGrfY6GWe23CFQ7nMEZyw73FKAEgXGxQ+nDuJ8vV2DDVsJ6JoTUhejifop1yYma /mLg== X-Gm-Message-State: AOAM531yEMfcudCKZ7T5er6vQCuSLqFEgwmfkRJvCYcrT7QDf5S+N4Tn VxY4/SZAYoVbQeJSgutIGuDsXkZn+68dxxWDSZmkLxIc4D/aCiTd2yhmmDN4WWO1Q2J95oq0Gu/ 13c6LD4KdfrMCulzHKjDLL/TDjwmJ7xQjNpuI49w= X-Received: by 2002:a05:600c:4782:: with SMTP id k2mr2508260wmo.75.1617690877633; Mon, 05 Apr 2021 23:34:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySVVC3XjNtljd/JCBUFCPPytV1h0dvBECpyVFRPioGRuvmHhYJ/HGe+ofT+CvyjfE1K8eHuw== X-Received: by 2002:a05:600c:4782:: with SMTP id k2mr2508244wmo.75.1617690877522; Mon, 05 Apr 2021 23:34:37 -0700 (PDT) Received: from [192.168.1.115] (xdsl-188-155-192-147.adslplus.ch. [188.155.192.147]) by smtp.gmail.com with ESMTPSA id l1sm32036825wrv.87.2021.04.05.23.34.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Apr 2021 23:34:37 -0700 (PDT) Subject: Re: linux-next: build warning after merge of the arm-soc tree To: Stephen Rothwell , Olof Johansson , Arnd Bergmann , ARM Cc: Dinh Nguyen , Linux Kernel Mailing List , Linux Next Mailing List References: <20210406104511.2535b830@canb.auug.org.au> From: Krzysztof Kozlowski Message-ID: <190b8e95-2a96-142e-7b98-34318eea6804@canonical.com> Date: Tue, 6 Apr 2021 08:34:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210406104511.2535b830@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 06/04/2021 02:45, Stephen Rothwell wrote: > Hi all, > > After merging the arm-soc tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/clk/socfpga/clk-gate.c: In function 'socfpga_clk_recalc_rate': > drivers/clk/socfpga/clk-gate.c:102:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 102 | if ((int) socfpgaclk->div_reg & SOCFPGA_GPIO_DB_CLK_OFFSET) > | ^ > > Exposed by commit > > cdb1e8b4f4c2 ("clk: socfpga: allow compile testing of Stratix 10 / Agilex clocks") > 552418658acd ("clk: socfpga: use ARCH_INTEL_SOCFPGA also for 32-bit ARM SoCs (and compile test)") > Thanks Stephen. This is a result of compile testing and was already fixed via clk tree. You should not have the warning after all the merges. https://lore.kernel.org/lkml/20210314110709.32599-1-krzysztof.kozlowski@canonical.com/ Best regards, Krzysztof 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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39319C433B4 for ; Tue, 6 Apr 2021 06:36:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF81361380 for ; Tue, 6 Apr 2021 06:36:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF81361380 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4hQrbiXnkHTOoKFUXRmaJv0yZ+9mOPT/8MCbbqfOV0g=; b=HHqE6zJIfs3FJuN7v2ipWF+X+ IEA75dZncJYy0VOAMOqoSdw+EHKSWF42f+8l/8aa0kJDj64FYQql6GBdPKeVH6YKJc2vPNDlAPc9X azTgKK8592mO92speHthLcZAS6vz85r99mb9kGvCGwKNMv1ok08DwngiiqwC791uqHYJ2VKb79FHc hIin8IbFnrAr3y53fgqVGebQauEzCN13vMDGLRLcby4T4wPaFSwQ3wibarEk/SrugGFAmL7rzG/mw CEMTugNSKTfT2z5FnMJqHYi1rR6o0PHre0Nze8jlFWCVdwthgxwllYwk4hp7dySoXjiglhc7nUH7o GVLuhPeVA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lTfIX-001g3K-KN; Tue, 06 Apr 2021 06:34:49 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lTfIN-001g2I-Li for linux-arm-kernel@lists.infradead.org; Tue, 06 Apr 2021 06:34:44 +0000 Received: from mail-wm1-f71.google.com ([209.85.128.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lTfIL-0000P0-T2 for linux-arm-kernel@lists.infradead.org; Tue, 06 Apr 2021 06:34:37 +0000 Received: by mail-wm1-f71.google.com with SMTP id b20-20020a7bc2540000b029010f7732a35fso397493wmj.1 for ; Mon, 05 Apr 2021 23:34:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BMxd/x1G6zBfvDxJ8kpKT8eMUVA7SyyKTi5pE6J4kM8=; b=FNxUv67iNk0worf9pUJF+mE70wTjiPBtLvzLXKdHnQfmpJ+SM22dPhWFqj5MvHmHXX w0Nzj2wWdbyR96vsidYzNL3yWbPjK+/mHn9c9ApHCAlb4IdZWn5LwVsIGNVNkUmgk9z6 YCiyl7LEXMffJlFLgN9swrUiJ7v4A6fg2PY9A0naQoOxTmY1TDs78nFGMH7OWh0pNlfV qREvhsQEWP2l9HM3XIPfD+Ybd1BptAOAeTfQ25jiJqXRyzxA/iK7sZN7f3Eev11WstdZ zOOq0dGfzrbH1qVIryGziWQWk5RPbCQlP5nB4keMUuRFCqIm/fGJNZrZpLLGrDCJx/hi O2YQ== X-Gm-Message-State: AOAM5308ooTnSkZU0VsxWpTj5YlxejC9kwY8QaJnpe7xOHN1yJrAKEPS AqS0Hi4P8nmpekRdE1mVluEGH6hMNdFhsAoC1yDO3JgE0b36QlInCB0c37yEL9+S8ErGBpiGLFB Grh6YlQT280WSMDHbGhM1Ji6Fe6hCDmb9MXkjSa4p0wjq6L6cJ8gR X-Received: by 2002:a05:600c:4782:: with SMTP id k2mr2508256wmo.75.1617690877633; Mon, 05 Apr 2021 23:34:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySVVC3XjNtljd/JCBUFCPPytV1h0dvBECpyVFRPioGRuvmHhYJ/HGe+ofT+CvyjfE1K8eHuw== X-Received: by 2002:a05:600c:4782:: with SMTP id k2mr2508244wmo.75.1617690877522; Mon, 05 Apr 2021 23:34:37 -0700 (PDT) Received: from [192.168.1.115] (xdsl-188-155-192-147.adslplus.ch. [188.155.192.147]) by smtp.gmail.com with ESMTPSA id l1sm32036825wrv.87.2021.04.05.23.34.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Apr 2021 23:34:37 -0700 (PDT) Subject: Re: linux-next: build warning after merge of the arm-soc tree To: Stephen Rothwell , Olof Johansson , Arnd Bergmann , ARM Cc: Dinh Nguyen , Linux Kernel Mailing List , Linux Next Mailing List References: <20210406104511.2535b830@canb.auug.org.au> From: Krzysztof Kozlowski Message-ID: <190b8e95-2a96-142e-7b98-34318eea6804@canonical.com> Date: Tue, 6 Apr 2021 08:34:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210406104511.2535b830@canb.auug.org.au> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210406_073439_833295_ACB9E902 X-CRM114-Status: GOOD ( 14.17 ) 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 06/04/2021 02:45, Stephen Rothwell wrote: > Hi all, > > After merging the arm-soc tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/clk/socfpga/clk-gate.c: In function 'socfpga_clk_recalc_rate': > drivers/clk/socfpga/clk-gate.c:102:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 102 | if ((int) socfpgaclk->div_reg & SOCFPGA_GPIO_DB_CLK_OFFSET) > | ^ > > Exposed by commit > > cdb1e8b4f4c2 ("clk: socfpga: allow compile testing of Stratix 10 / Agilex clocks") > 552418658acd ("clk: socfpga: use ARCH_INTEL_SOCFPGA also for 32-bit ARM SoCs (and compile test)") > Thanks Stephen. This is a result of compile testing and was already fixed via clk tree. You should not have the warning after all the merges. https://lore.kernel.org/lkml/20210314110709.32599-1-krzysztof.kozlowski@canonical.com/ Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel