Re: [PATCH v2 2/2] drivers: remove force dma flag from buses

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

 



Hi Nipun,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.16-rc6 next-20180323]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Nipun-Gupta/dma-mapping-move-dma-configuration-to-bus-infrastructure/20180323-232307
config: i386-randconfig-x014-201811 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers//bcma/main.c: In function 'bcma_of_fill_device':
>> drivers//bcma/main.c:210:2: error: too many arguments to function 'of_dma_configure'
     of_dma_configure(&core->dev, node, false);
     ^~~~~~~~~~~~~~~~
   In file included from include/linux/of_platform.h:12:0,
                    from drivers//bcma/main.c:17:
   include/linux/of_device.h:110:19: note: declared here
    static inline int of_dma_configure(struct device *dev, struct device_node *np)
                      ^~~~~~~~~~~~~~~~

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

   198	
   199	static void bcma_of_fill_device(struct device *parent,
   200					struct bcma_device *core)
   201	{
   202		struct device_node *node;
   203	
   204		node = bcma_of_find_child_device(parent, core);
   205		if (node)
   206			core->dev.of_node = node;
   207	
   208		core->irq = bcma_of_get_irq(parent, core, 0);
   209	
 > 210		of_dma_configure(&core->dev, node, false);
   211	}
   212	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux