tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
master
head:   32d9b70a053a835b4dfb33158fc03795ea103e44
commit: 0dd5759dbb1c9a862e7d90c09d6cf398c45f1100 [428/478] net: remove 
dmaengine.h inclusion from netdevice.h
config: arm-keystone_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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 0dd5759dbb1c9a862e7d90c09d6cf398c45f1100
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/ti/netcp_core.c:30:0:
>> include/linux/soc/ti/knav_dma.h:129:30: error: field 'direction' has 
>> incomplete type
     enum dma_transfer_direction direction;
                                 ^~~~~~~~~
   drivers/net/ethernet/ti/netcp_core.c: In function 'netcp_txpipe_open':
   drivers/net/ethernet/ti/netcp_core.c:1349:21: error: 'DMA_MEM_TO_DEV' 
undeclared (first use in this function)
     config.direction = DMA_MEM_TO_DEV;
                        ^~~~~~~~~~~~~~
   drivers/net/ethernet/ti/netcp_core.c:1349:21: note: each undeclared 
identifier is reported only once for each function it appears in
   drivers/net/ethernet/ti/netcp_core.c: In function 
'netcp_setup_navigator_resources':
>> drivers/net/ethernet/ti/netcp_core.c:1659:22: error: 'DMA_DEV_TO_MEM' 
>> undeclared (first use in this function)
     config.direction  = DMA_DEV_TO_MEM;
                         ^~~~~~~~~~~~~~
--
   In file included from drivers/net/ethernet/ti/netcp.h:25:0,
                    from drivers/net/ethernet/ti/netcp_ethss.c:31:
>> include/linux/soc/ti/knav_dma.h:129:30: error: field 'direction' has 
>> incomplete type
     enum dma_transfer_direction direction;
                                 ^~~~~~~~~
--
   In file included from drivers/net//ethernet/ti/netcp_core.c:30:0:
>> include/linux/soc/ti/knav_dma.h:129:30: error: field 'direction' has 
>> incomplete type
     enum dma_transfer_direction direction;
                                 ^~~~~~~~~
   drivers/net//ethernet/ti/netcp_core.c: In function 'netcp_txpipe_open':
   drivers/net//ethernet/ti/netcp_core.c:1349:21: error: 'DMA_MEM_TO_DEV' 
undeclared (first use in this function)
     config.direction = DMA_MEM_TO_DEV;
                        ^~~~~~~~~~~~~~
   drivers/net//ethernet/ti/netcp_core.c:1349:21: note: each undeclared 
identifier is reported only once for each function it appears in
   drivers/net//ethernet/ti/netcp_core.c: In function 
'netcp_setup_navigator_resources':
   drivers/net//ethernet/ti/netcp_core.c:1659:22: error: 'DMA_DEV_TO_MEM' 
undeclared (first use in this function)
     config.direction  = DMA_DEV_TO_MEM;
                         ^~~~~~~~~~~~~~

vim +/direction +129 include/linux/soc/ti/knav_dma.h

88139ed0 Santosh Shilimkar 2014-03-30  121  
88139ed0 Santosh Shilimkar 2014-03-30  122  /**
88139ed0 Santosh Shilimkar 2014-03-30  123   * struct knav_dma_cfg:     Pktdma 
channel configuration
88139ed0 Santosh Shilimkar 2014-03-30  124   * @sl_cfg:                 Slave 
configuration
88139ed0 Santosh Shilimkar 2014-03-30  125   * @tx:                             
Tx channel configuration
88139ed0 Santosh Shilimkar 2014-03-30  126   * @rx:                             
Rx flow configuration
88139ed0 Santosh Shilimkar 2014-03-30  127   */
88139ed0 Santosh Shilimkar 2014-03-30  128  struct knav_dma_cfg {
88139ed0 Santosh Shilimkar 2014-03-30 @129      enum dma_transfer_direction 
direction;
88139ed0 Santosh Shilimkar 2014-03-30  130      union {
88139ed0 Santosh Shilimkar 2014-03-30  131              struct knav_dma_tx_cfg  
tx;
88139ed0 Santosh Shilimkar 2014-03-30  132              struct knav_dma_rx_cfg  
rx;
88139ed0 Santosh Shilimkar 2014-03-30  133      } u;
88139ed0 Santosh Shilimkar 2014-03-30  134  };
88139ed0 Santosh Shilimkar 2014-03-30  135  

:::::: The code at line 129 was first introduced by commit
:::::: 88139ed030583557751e279968e13e892ae10825 soc: ti: add Keystone Navigator 
DMA support

:::::: TO: Santosh Shilimkar <santosh.shilim...@ti.com>
:::::: CC: Santosh Shilimkar <santosh.shilim...@ti.com>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to