[xlnx:pr/141 7244/7257] sound/drivers/xylon/logii2s.h:111:2: error: unknown type name 'spinlock_t'

From: kernel test robot <hidden>
Date: 2020-06-15 08:55:36
Also in: oe-kbuild-all

tree:   https://github.com/Xilinx/linux-xlnx pr/141
head:   db995e4e810a4df3511b95cec55cd8d955b1b52d
commit: d9f8c581a57f95963d6825e9ed6abd89c4099e15 [7244/7257] Fix Makefile typo
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d9f8c581a57f95963d6825e9ed6abd89c4099e15
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from sound/drivers/xylon/logii2s.c:19:0:
quoted
sound/drivers/xylon/logii2s.h:111:2: error: unknown type name 'spinlock_t'
spinlock_t lock;
^~~~~~~~~~

vim +/spinlock_t +111 sound/drivers/xylon/logii2s.h

4b89f92a14681c puhitaku 2018-10-26  107  
4b89f92a14681c puhitaku 2018-10-26  108  struct logii2s_pcm_data {
4b89f92a14681c puhitaku 2018-10-26  109  	struct logii2s_port *port;
4b89f92a14681c puhitaku 2018-10-26  110  	struct snd_pcm_substream *substream;
4b89f92a14681c puhitaku 2018-10-26 @111  	spinlock_t lock;
4b89f92a14681c puhitaku 2018-10-26  112  	unsigned int buf_pos;
4b89f92a14681c puhitaku 2018-10-26  113  	unsigned int buf_sz;
4b89f92a14681c puhitaku 2018-10-26  114  	unsigned int xfer_dir;
4b89f92a14681c puhitaku 2018-10-26  115  
4b89f92a14681c puhitaku 2018-10-26  116  	/* Raw mic alignment info */
4b89f92a14681c puhitaku 2018-10-26  117  	unsigned char is_aligned;
4b89f92a14681c puhitaku 2018-10-26  118  
4b89f92a14681c puhitaku 2018-10-26  119      /* Last R channel sample */
4b89f92a14681c puhitaku 2018-10-26  120      u32 last_r;
4b89f92a14681c puhitaku 2018-10-26  121  };
4b89f92a14681c puhitaku 2018-10-26  122  

:::::: The code at line 111 was first introduced by commit
:::::: 4b89f92a14681c6d7068c5cea7d7df3f8ccaec61 Move struct definition to share it among other sources

:::::: TO: puhitaku [off-list ref]
:::::: CC: puhitaku [off-list ref]

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help