Ah, yeah, this patch depends on Aaron Sierra's "[PATCH v2] vme: change LM
callback argument to void pointer" patch:

http://permalink.gmane.org/gmane.linux.drivers.driver-project.devel/87990

Which changes the parameters for fake_lm_attach()

Martyn

On 07/07/16 20:59, kbuild test robot wrote:
Hi,

[auto build test ERROR on driver-core/driver-core-testing]
[also build test ERROR on v4.7-rc6 next-20160707]
[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/Martyn-Welch/vme-Adding-Fake-VME-driver/20160708-025909
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
         # save the attached .config to linux build tree
         make ARCH=i386

All errors (new ones prefixed by >>):

    drivers/vme/bridges/vme_fake.c: In function 'fake_init':
drivers/vme/bridges/vme_fake.c:1174:25: error: assignment from incompatible 
pointer type [-Werror=incompatible-pointer-types]
      fake_bridge->lm_attach = fake_lm_attach;
                             ^
    cc1: some warnings being treated as errors

vim +1174 drivers/vme/bridges/vme_fake.c

   1168         fake_bridge->master_write = fake_master_write;
   1169         fake_bridge->master_rmw = fake_master_rmw;
   1170         fake_bridge->irq_set = fake_irq_set;
   1171         fake_bridge->irq_generate = fake_irq_generate;
   1172         fake_bridge->lm_set = fake_lm_set;
   1173         fake_bridge->lm_get = fake_lm_get;
1174            fake_bridge->lm_attach = fake_lm_attach;
   1175         fake_bridge->lm_detach = fake_lm_detach;
   1176         fake_bridge->slot_get = fake_slot_get;
   1177         fake_bridge->alloc_consistent = fake_alloc_consistent;

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

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to