tree: git://git.cmpxchg.org/linux-mmotm.git master head: 6102e3c755ac0084fdce65f69a7a149fc51a8a86 commit: 57add260b21afa6a56d0c045e951f98a0cc3f2c8 [134/321] genalloc: add support of multiple gen_pools per device config: avr32-atngw100_defconfig (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 git checkout 57add260b21afa6a56d0c045e951f98a0cc3f2c8 # save the attached .config to linux build tree make.cross ARCH=avr32 All warnings (new ones prefixed by >>): lib/genalloc.c: In function 'gen_pool_get': >> lib/genalloc.c:599: warning: passing argument 4 of 'devres_find' discards qualifiers from pointer target type vim +/devres_find +599 lib/genalloc.c 583 return 0; 584 585 return !strcmp((*p)->name, data); 586 } 587 588 /** 589 * gen_pool_get - Obtain the gen_pool (if any) for a device 590 * @dev: device to retrieve the gen_pool from 591 * @name: name of a gen_pool or NULL, identifies a particular gen_pool on device 592 * 593 * Returns the gen_pool for the device if one is present, or NULL. 594 */ 595 struct gen_pool *gen_pool_get(struct device *dev, const char *name) 596 { 597 struct gen_pool **p; 598 > 599 p = devres_find(dev, devm_gen_pool_release, devm_gen_pool_match, name); 600 if (!p) 601 return NULL; 602 return *p; 603 } 604 EXPORT_SYMBOL_GPL(gen_pool_get); 605 606 /** 607 * devm_gen_pool_create - managed gen_pool_create --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation