Web lists-archives.com

[tip:WIP.irq 12/46] kernel/irq/manage.c:389:46: error: 'd' undeclared




tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.irq
head:   26b97bb2e81ea67d3c76378958f31fb3252883c5
commit: 2fdcd8497eec5585a323f098de61acc058ea8094 [12/46] genirq: Remove mask argument from setup_affinity()
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 2fdcd8497eec5585a323f098de61acc058ea8094
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All error/warnings (new ones prefixed by >>):

   kernel/irq/manage.c: In function 'irq_setup_affinity':
>> kernel/irq/manage.c:389:46: error: 'd' undeclared (first use in this function)
     return irq_select_affinity(irq_desc_get_irq(d));
                                                 ^
   kernel/irq/manage.c:389:46: note: each undeclared identifier is reported only once for each function it appears in
>> kernel/irq/manage.c:390:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/d +389 kernel/irq/manage.c

2fdcd849 Thomas Gleixner 2017-06-17  383  	return ret;
18404756 Max Krasnyansky 2008-05-29  384  }
f6d87f4b Thomas Gleixner 2008-11-07  385  #else
a8a98eac Jiang Liu       2015-06-04  386  /* Wrapper for ALPHA specific affinity selector magic */
2fdcd849 Thomas Gleixner 2017-06-17  387  int irq_setup_affinity(struct irq_desc *desc)
f6d87f4b Thomas Gleixner 2008-11-07  388  {
a8a98eac Jiang Liu       2015-06-04 @389  	return irq_select_affinity(irq_desc_get_irq(d));
f6d87f4b Thomas Gleixner 2008-11-07 @390  }
18404756 Max Krasnyansky 2008-05-29  391  #endif
18404756 Max Krasnyansky 2008-05-29  392  
f6d87f4b Thomas Gleixner 2008-11-07  393  /*

:::::: The code at line 389 was first introduced by commit
:::::: a8a98eac7b238beb49b479c164303651d5a37eb6 genirq: Remove the irq argument from setup_affinity()

:::::: TO: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>
:::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip