Re: [stffrdhrn:or1k-virt-5 2/10] arch/x86/kernel/cpu/cyrix.c:277:17: error: 'isa_dma_bridge_buggy' undeclared

From: Stafford Horne
Date: Sat Jul 30 2022 - 00:33:06 EST


On Sat, Jul 30, 2022 at 11:54:41AM +0800, kernel test robot wrote:
> tree: https://github.com/stffrdhrn/linux.git or1k-virt-5
> head: 2e5ced6dd3319303f0d6760a46e8b35e985c86b5
> commit: db5cc35daef410a8a51d7c2e66d34195b82dcb50 [2/10] PCI: Move isa_dma_bridge_buggy out of dma.h
> config: i386-randconfig-a014-20210930 (https://download.01.org/0day-ci/archive/20220730/202207301158.ldOcpmVn-lkp@xxxxxxxxx/config)
> compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
> reproduce (this is a W=1 build):
> # https://github.com/stffrdhrn/linux/commit/db5cc35daef410a8a51d7c2e66d34195b82dcb50
> git remote add stffrdhrn https://github.com/stffrdhrn/linux.git
> git fetch --no-tags stffrdhrn or1k-virt-5
> git checkout db5cc35daef410a8a51d7c2e66d34195b82dcb50
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
> arch/x86/kernel/cpu/cyrix.c: In function 'init_cyrix':
> >> arch/x86/kernel/cpu/cyrix.c:277:17: error: 'isa_dma_bridge_buggy' undeclared (first use in this function)
> 277 | isa_dma_bridge_buggy = 2;
> | ^~~~~~~~~~~~~~~~~~~~
> arch/x86/kernel/cpu/cyrix.c:277:17: note: each undeclared identifier is reported only once for each function it appears in

I don't have the fix on the branch but this is fixed on the branch
'pci/header-cleanup-immutable' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git

After the patches went into the PCI branch.

-Stafford