Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp836794rdg; Wed, 11 Oct 2023 07:00:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1CSaGtBeKEPJfhBLvxx1yhMIYuUGd7jmLRdKHwDib3pxKOJLw9p2T0YzoQ0qNJpWz56u6 X-Received: by 2002:a17:903:230b:b0:1c6:a0b:7b9a with SMTP id d11-20020a170903230b00b001c60a0b7b9amr27006490plh.3.1697032853840; Wed, 11 Oct 2023 07:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697032853; cv=none; d=google.com; s=arc-20160816; b=YpP0TbF6KRQvXvo/kxM6ry9mBlSrA2G6FFLZhya0yH2w/siirTnUVcdR5blYgOrOlm nWCTLfEZ6Htg6HkfNoSQkFcIOFprT4QaOLZafy7xVuwqFWdkwvSgu1VDMXDIFxG/R6fy dxKOEbPdVLi4+9fx6DIJgQW4r5wWEusvde7xshIoooT/ZGQZ6oQ66NcWANg0VppRTEzH U3HmiQWK/XMkaV8Y4wr9VV7jofzRzTQTDNYLE3Q4EeU+qOvzntESscrZXUk4/6jc593C 83+1nFZMsRmC/UBodbEqZK6ScaE4k4syWSMjuYQleIjxglSS6+UVw68x8OHznXyo8eZB h3vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=hmHoQR5ZuzU6V7LNQx2dow7PFy/7ilsO/HSH0bUXSBE=; fh=Vxg965coywMMkjq9XOHhWRXTQ8NK22ockNvMsJd/l3I=; b=vPV6uXJ5vnnfElyLOV2y5QFI7JT/8uIzl/FZRu0fIN4yIk0ZSPNfUi6J0+XTZK7emp vZObYsnKIsPIe1OvaOflvF+Z3wqepcoCs4i+e9wkcvpN4nd9GDBlC9BPBMTrEqyAnIVQ evvsJmdkpUHH1fHBcL8kBd5AKhZmehUP1mTPo2adSYPqXxOuPxCvr1BzCeUY7LDcIU++ GQkpSuyt6yFdVWm7PcMq2rInM5WzNGMOj5wQHjCRRovrq7MKARpur19F3B+eRtYZWjE2 OzczIdsNizxcbHGSfP17EBqyxutHnWXLzvsnTgWmWv9MDzfjTy2JTlB6fuuiCucd16iy UImA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j13-20020a170902c3cd00b001befd0512e8si13795309plj.303.2023.10.11.07.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 07:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 742B18067E2D; Wed, 11 Oct 2023 07:00:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232333AbjJKOAn (ORCPT + 99 others); Wed, 11 Oct 2023 10:00:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232452AbjJKOAl (ORCPT ); Wed, 11 Oct 2023 10:00:41 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 33B0190; Wed, 11 Oct 2023 07:00:40 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AA633C15; Wed, 11 Oct 2023 07:01:20 -0700 (PDT) Received: from bogus (unknown [10.57.93.106]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 61B073F762; Wed, 11 Oct 2023 07:00:37 -0700 (PDT) Date: Wed, 11 Oct 2023 14:59:05 +0100 From: Sudeep Holla To: Arnd Bergmann Cc: Rob Herring , Frank Rowand , Sudeep Holla , Arnd Bergmann , Greg Kroah-Hartman , Yang Yang , Geert Uytterhoeven , Sebastian Reichel , Miquel Raynal , Dmitry Baryshkov , Viresh Kumar , Benjamin Herrenschmidt , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] of: rexport of_find_next_cache_node() Message-ID: <20231011135905.hveat7viflqluccw@bogus> References: <20231011131431.2559029-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231011131431.2559029-1-arnd@kernel.org> X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 11 Oct 2023 07:00:51 -0700 (PDT) X-Spam-Level: ** On Wed, Oct 11, 2023 at 03:14:08PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > This function is now called from a cpufreq driver, but that breaks the > build when the caller is in a loadable module, because of a missing > export: > > ERROR: modpost: "of_find_next_cache_node" [drivers/cpufreq/qcom-cpufreq-nvmem.ko] undefined! > > Export this as a GPL-only symbol, like the other related functions in > this file. > > Fixes: 7683a63c08ff5 ("cpufreq: qcom-nvmem: create L2 cache device") > Fixes: a3e31b4588443 ("of: Move definition of of_find_next_cache_node into common code.") I am bit confused as I see commit a3e31b4588443 didn't drop the export. So how is this change fixing that commit ? -- Regards, Sudeep