From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755586AbbIUGjN (ORCPT ); Mon, 21 Sep 2015 02:39:13 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33696 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903AbbIUGjM (ORCPT ); Mon, 21 Sep 2015 02:39:12 -0400 Date: Mon, 21 Sep 2015 12:09:01 +0530 From: Sudip Mukherjee To: Hans-Christian Egtvedt Cc: Haavard Skinnemoen , Felipe Balbi , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Andrew Morton Subject: Re: [PATCH 1/3] avr32: fix build failure Message-ID: <20150921063901.GA29279@sudip-pc> References: <1442682779-20077-1-git-send-email-sudipm.mukherjee@gmail.com> <1442682779-20077-2-git-send-email-sudipm.mukherjee@gmail.com> <20150921060942.GA17632@samfundet.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150921060942.GA17632@samfundet.no> 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, Sep 21, 2015 at 08:09:42AM +0200, Hans-Christian Egtvedt wrote: > Around Sat 19 Sep 2015 22:42:57 +0530 or thereabout, Sudip Mukherjee wrote: > > While building avr32 with allmodconfig, the build used to fail with the > > message: > > error: implicit declaration of function 'pci_iomap' > > error: implicit declaration of function 'pci_iounmap' > > What has changed recently that start pulling in these? AVR32 does not have > PCI at all, and will never have it either. Is this exposing a bug somewhere > else? It looks like pci_iomap and pci_iounmap doesnot depend on CONFIG_PCI. So drivers/net/ethernet/via/via-rhine.c is calling these functions even if PCI is disabled. The build log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/81127188 You can find a similar discussion at: http://www.linux-mips.org/archives/linux-mips/2013-06/msg00510.html regards sudip