Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp167641ybl; Thu, 12 Dec 2019 15:58:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxmz9u8qSIPEa8FWNblXqeQAf/95wKYnNwbZMbF1RxwYWwiYFwgjtYL+Px/A75hbrs5zOy5 X-Received: by 2002:a05:6830:60f:: with SMTP id w15mr11306267oti.225.1576195089694; Thu, 12 Dec 2019 15:58:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576195089; cv=none; d=google.com; s=arc-20160816; b=hXdQAdL8E/mTyvbcKz5Cyvvdn3M6B61wwh2oLdgW7LpYX6heyqpS55mshNjCtM51lg /3B4i1rtUa+1jgx0GK4aaYi5CD7cJGbH3nK+6q9BC/TTYEk0i20I+Kabq1H1goMtPut8 3MMfa53HDU3GlH5f2Kfbv8HBL09dJqUp9CDgUyi9VeV9keDT3iEx9KVPgPQuvRGQPkOY fI1oHo9JqfRcac0Zp/yu/hVGH42M+IZ+B41JeNneLKlvGTTLPufDGhPLS+zHzD3xzb+D V4iB6gGMQnCfrtVzB0Vb2cM9RDQXs5Jr6e6IMm1lDUhXvhR2uJIwHB8OGQv7sUeqL9DC 5vNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=RAlpotq3BjuK7F0/vSjZauB7Pd1JsLzcK3WmbMvDQVs=; b=HQV8kKogn0tognB3JVhZCTgc3itEDPIWPgcNBNJ0jy4nUeBg/FCNvWXk/6gFDuDG/F XTL9b5SU944Iqy/ZERo3YZIZVWb5+SgIEPXjxhBXokdwg7QIc+kW0LzsMrCZPt476CrA W8b1swsi/oHF3eK8jaLsLbE4xbrUn9MUBtiZ6YtKLtMYErpNHmktkEZHkH/7oi1fjau/ 9WRcwQzh3NnLxQbqCz++fVkDZntskL2qXqtyDq69EP6CEcZKUHRQF8x6gIK0zitlfWUB I4IxPz9SZrSMLlAlDK0/imhIA2F++iKLvmf+JNvG3AWljx2fgZJHWElmCsLZ8Jg82Rrc stww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p186si4351820oih.172.2019.12.12.15.57.57; Thu, 12 Dec 2019 15:58:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731437AbfLLX5F (ORCPT + 99 others); Thu, 12 Dec 2019 18:57:05 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:25144 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731406AbfLLX5E (ORCPT ); Thu, 12 Dec 2019 18:57:04 -0500 Date: 13 Dec 2019 08:57:03 +0900 X-IronPort-AV: E=Sophos;i="5.69,307,1571670000"; d="scan'208";a="34060085" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 13 Dec 2019 08:57:03 +0900 Received: from morimoto-PC.renesas.com (unknown [10.166.18.140]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 4217B400D4D7; Fri, 13 Dec 2019 08:57:03 +0900 (JST) Message-ID: <87pngt5c8g.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Geert Uytterhoeven Cc: Yoshinori Sato , Rich Felker , Andrew Morton , Linux-sh list , Linux Kernel Mailing List Subject: Re: [PATCH] sh: add missing EXPORT_SYMBOL() for __delay In-Reply-To: References: <87wob2clos.wl-kuninori.morimoto.gx@renesas.com> User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert Thank you for your feedback > > --- a/arch/sh/lib/delay.c > > +++ b/arch/sh/lib/delay.c > > @@ -29,6 +29,7 @@ void __delay(unsigned long loops) > > : "0" (loops) > > : "t"); > > } > > +EXPORT_SYMBOL(__delay); > > > > inline void __const_udelay(unsigned long xloops) > > { > > I believe the correct fix is make drivers/net/phy/mdio-cavium.c use one > of [nmu]delay() instead. > > Cfr. > https://lore.kernel.org/lkml/CAMuHMdUERaoHLNKi03zCuYi7NevgBFjXrV=pt0Yy=HOeRiL25Q@mail.gmail.com/ OK, make sense. I did it because some architecture is using EXPORT_SYMBOL() to __delay. Thank you for your help !! Best regards --- Kuninori Morimoto