Search Linux Wireless

Re: [PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arnd,

[auto build test ERROR on v4.5-rc7]
[also build test ERROR on next-20160317]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Arnd-Bergmann/bcma-fix-building-without-OF_IRQ/20160317-172805
config: xtensa-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
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers/bcma/main.c: In function 'bcma_of_fill_device':
>> drivers/bcma/main.c:213:2: error: incompatible type for argument 1 of 'of_dma_configure'
     of_dma_configure(core->dev, node);
     ^
   In file included from include/linux/of_platform.h:17:0,
                    from drivers/bcma/main.c:17:
   include/linux/of_device.h:58:6: note: expected 'struct device *' but argument is of type 'struct device'
    void of_dma_configure(struct device *dev, struct device_node *np);
         ^

vim +/of_dma_configure +213 drivers/bcma/main.c

   207		node = bcma_of_find_child_device(parent, core);
   208		if (node)
   209			core->dev.of_node = node;
   210	
   211		core->irq = bcma_of_get_irq(parent, core, 0);
   212	
 > 213		of_dma_configure(core->dev, node);
   214	}
   215	
   216	unsigned int bcma_core_irq(struct bcma_device *core, int num)

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux