From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753474AbcCGU3t (ORCPT ); Mon, 7 Mar 2016 15:29:49 -0500 Received: from mx2.suse.de ([195.135.220.15]:59225 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753125AbcCGU3k (ORCPT ); Mon, 7 Mar 2016 15:29:40 -0500 Date: Mon, 7 Mar 2016 21:29:37 +0100 From: "Luis R. Rodriguez" To: kbuild test robot Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Ingo Molnar , Borislav Petkov Subject: Re: drivers/video/fbdev/aty/atyfb_base.c:3461:2: error: implicit declaration of function 'ioremap_uc' Message-ID: <20160307202937.GB22229@wotan.suse.de> References: <201603062005.lhOBibd1%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201603062005.lhOBibd1%fengguang.wu@intel.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 I'll send a fix. I have it written. Luis On Sun, Mar 06, 2016 at 08:14:07PM +0800, kbuild test robot wrote: > Hi Luis, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 67944024c1cdd897e49a09b0d6af3ea38d1388ca > commit: 3cc2dac5be3f23414a4efdee0b26d79bed297cac drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC > date: 8 months ago > config: ia64-allyesconfig (attached as .config) > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 3cc2dac5be3f23414a4efdee0b26d79bed297cac > # save the attached .config to linux build tree > make.cross ARCH=ia64 > > All errors (new ones prefixed by >>): > > drivers/video/fbdev/aty/atyfb_base.c: In function 'atyfb_setup_generic': > >> drivers/video/fbdev/aty/atyfb_base.c:3461:2: error: implicit declaration of function 'ioremap_uc' [-Werror=implicit-function-declaration] > par->ati_regbase = ioremap_uc(info->fix.mmio_start, 0x1000); > ^ > drivers/video/fbdev/aty/atyfb_base.c:3461:19: warning: assignment makes pointer from integer without a cast > par->ati_regbase = ioremap_uc(info->fix.mmio_start, 0x1000); > ^ > cc1: some warnings being treated as errors > > vim +/ioremap_uc +3461 drivers/video/fbdev/aty/atyfb_base.c > > 3455 > 3456 info->fix.mmio_start = raddr; > 3457 /* > 3458 * By using strong UC we force the MTRR to never have an > 3459 * effect on the MMIO region on both non-PAT and PAT systems. > 3460 */ > > 3461 par->ati_regbase = ioremap_uc(info->fix.mmio_start, 0x1000); > 3462 if (par->ati_regbase == NULL) > 3463 return -ENOMEM; > 3464 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation -- Luis Rodriguez, SUSE LINUX GmbH Maxfeldstrasse 5; D-90409 Nuernberg