Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933030AbcCRN2d (ORCPT ); Fri, 18 Mar 2016 09:28:33 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35397 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933002AbcCRN23 (ORCPT ); Fri, 18 Mar 2016 09:28:29 -0400 Subject: Re: [PATCH] nios2: Replace fdt_translate_address with of_flat_dt_translate_address To: Ley Foon Tan References: <1458269396-971-1-git-send-email-linux@roeck-us.net> <56EB7478.9080401@hurleysoftware.com> <1458280683.2963.11.camel@ubuntu> Cc: Guenter Roeck , nios2-dev@lists.rocketboards.org, linux-kernel@vger.kernel.org, Rob Herring From: Peter Hurley Message-ID: <56EC0279.1010205@hurleysoftware.com> Date: Fri, 18 Mar 2016 06:28:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1458280683.2963.11.camel@ubuntu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 968 Lines: 30 On 03/17/2016 10:58 PM, Ley Foon Tan wrote: > On Thu, 2016-03-17 at 20:22 -0700, Peter Hurley wrote: >> Hi Guenter, >> >> On 03/17/2016 07:49 PM, Guenter Roeck wrote: >>> nios2 builds fail with the following build error. >>> >>> arch/nios2/kernel/prom.c: In function 'early_init_dt_scan_serial': >>> arch/nios2/kernel/prom.c:100:2: error: >>> implicit declaration of function 'fdt_translate_address' >>> >>> Commit c90fe9c0394b ("of: earlycon: Move address translation to >>> of_setup_earlycon()") replaced fdt_translate_address() with >>> of_flat_dt_translate_address() but missed updating the nios2 code. >> >> My bad. >> The sad part is I even noted this other user of fdt_translate_address() >> in a review of a different patch, and then overlooked it in my own patch. :/ >> >> Reviewed-by: Peter Hurley >> > Hi Peter, > > Will you take this patch or you want me to take this? > Thanks. Please take this patch. Regards, Peter Hurley