On 04/08/18 at 01:55pm, kbuild test robot wrote: > Hi Baoquan, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.16 next-20180406] > [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/Baoquan-He/resource-Use-list_head-to-link-sibling-resource/20180408-110108 > config: sparc-defconfig (attached as .config) > compiler: sparc-linux-gcc (GCC) 7.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=sparc > > All errors (new ones prefixed by >>): > > arch/sparc/kernel/ioport.c: In function 'sparc_io_proc_show': > >> arch/sparc/kernel/ioport.c:672:9: error: incompatible types when assigning to type 'struct resource *' from type 'struct list_head' > for (r = root->child; r != NULL; r = r->sibling) { > ^ > arch/sparc/kernel/ioport.c:672:37: error: incompatible types when assigning to type 'struct resource *' from type 'struct list_head' > for (r = root->child; r != NULL; r = r->sibling) { > ^ Thanks, will change and repost. > > vim +672 arch/sparc/kernel/ioport.c > > ^1da177e4 Linus Torvalds 2005-04-16 666 > e7a088f93 Alexey Dobriyan 2009-09-01 667 static int sparc_io_proc_show(struct seq_file *m, void *v) > ^1da177e4 Linus Torvalds 2005-04-16 668 { > e7a088f93 Alexey Dobriyan 2009-09-01 669 struct resource *root = m->private, *r; > ^1da177e4 Linus Torvalds 2005-04-16 670 const char *nm; > ^1da177e4 Linus Torvalds 2005-04-16 671 > e7a088f93 Alexey Dobriyan 2009-09-01 @672 for (r = root->child; r != NULL; r = r->sibling) { > c31f76518 Sam Ravnborg 2014-04-21 673 if ((nm = r->name) == NULL) nm = "???"; > e7a088f93 Alexey Dobriyan 2009-09-01 674 seq_printf(m, "%016llx-%016llx: %s\n", > 685143ac1 Greg Kroah-Hartman 2006-06-12 675 (unsigned long long)r->start, > 685143ac1 Greg Kroah-Hartman 2006-06-12 676 (unsigned long long)r->end, nm); > ^1da177e4 Linus Torvalds 2005-04-16 677 } > ^1da177e4 Linus Torvalds 2005-04-16 678 > e7a088f93 Alexey Dobriyan 2009-09-01 679 return 0; > ^1da177e4 Linus Torvalds 2005-04-16 680 } > ^1da177e4 Linus Torvalds 2005-04-16 681 > > :::::: The code at line 672 was first introduced by commit > :::::: e7a088f935180b90cfe6ab0aaae8a556f46885fe sparc: convert /proc/io_map, /proc/dvma_map to seq_file > > :::::: TO: Alexey Dobriyan <adobriyan@xxxxxxxxx> > :::::: CC: David S. Miller <davem@xxxxxxxxxxxxx> > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel