From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932317AbbLGLxT (ORCPT ); Mon, 7 Dec 2015 06:53:19 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36749 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932105AbbLGLw7 (ORCPT ); Mon, 7 Dec 2015 06:52:59 -0500 Date: Mon, 7 Dec 2015 17:22:49 +0530 From: Sudip Mukherjee To: Rob Herring , Frank Rowand , Grant Likely Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven , akpm@linux-foundation.org Subject: Re: [PATCH v2] of: fix build failure Message-ID: <20151207115237.GA10567@sudip-pc> References: <1449488256-16556-1-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1449488256-16556-1-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 07, 2015 at 05:07:36PM +0530, Sudip Mukherjee wrote: > We are having build failure with linux-next for sparc allmodconfig with > the error messages: > > undefined reference to 'of_io_request_and_map' > > CONFIG_OF is defined for sparc so it is expected that we have a > definition of of_io_request_and_map() but of/address.c is only compiled > if it is !SPARC. In other words, CONFIG_OF_ADDRESS is not defined for > sparc so we get the build failure. > > Signed-off-by: Sudip Mukherjee > --- please discard this patch. This created problem with some other arch. I am sending v3. regards sudip