tree: https://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb add_pwrseq_for_usb head: 236dd95c9a8872af797cc504ea9d0fe74b8c55d3 commit: 210f01d924a442bc83b11f8bb2c0ee6845fa2e20 [9/16] power: pwrseq: change common helpers as generic config: blackfin-TCM-BF537_defconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 4.6.3 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 210f01d924a442bc83b11f8bb2c0ee6845fa2e20 # save the attached .config to linux build tree make.cross ARCH=blackfin All warnings (new ones prefixed by >>): In file included from drivers/mmc/core/host.c:24:0: include/linux/pwrseq.h: In function 'pwrseq_pre_power_on': include/linux/pwrseq.h:43:46: warning: no return statement in function returning non-void [-Wreturn-type] include/linux/pwrseq.h: In function 'pwrseq_alloc': include/linux/pwrseq.h:47:3: warning: no return statement in function returning non-void [-Wreturn-type] include/linux/pwrseq.h: At top level: include/linux/pwrseq.h:48:39: warning: 'struct mmc_host' declared inside parameter list [enabled by default] include/linux/pwrseq.h:48:39: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] drivers/mmc/core/host.c: In function 'mmc_free_host': >> drivers/mmc/core/host.c:473:2: warning: passing argument 1 of 'pwrseq_free' from incompatible pointer type [enabled by default] include/linux/pwrseq.h:48:20: note: expected 'struct mmc_host *' but argument is of type 'struct pwrseq *' vim +/pwrseq_free +473 drivers/mmc/core/host.c 457 458 device_del(&host->class_dev); 459 460 led_trigger_unregister_simple(host->led); 461 } 462 463 EXPORT_SYMBOL(mmc_remove_host); 464 465 /** 466 * mmc_free_host - free the host structure 467 * @host: mmc host 468 * 469 * Free the host once all references to it have been dropped. 470 */ 471 void mmc_free_host(struct mmc_host *host) 472 { > 473 pwrseq_free(host->pwrseq); 474 put_device(&host->class_dev); 475 } 476 477 EXPORT_SYMBOL(mmc_free_host); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data