Hi Arunpravin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on 5313fb2c779f74bc5083e9d3738d9b2c2ebe0aa4]
url:
https://github.com/0day-ci/linux/commits/Arunpravin/drm-move-the-buddy-al...
base: 5313fb2c779f74bc5083e9d3738d9b2c2ebe0aa4
config: x86_64-randconfig-a001-20220109
(
https://download.01.org/0day-ci/archive/20220110/202201101702.AU8z1yRz-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/47666a7da23e2e1df69515f179902dda6...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Arunpravin/drm-move-the-buddy-allocator-from-i915-into-common-drm/20220109-222233
git checkout 47666a7da23e2e1df69515f179902dda6fcf5c43
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/gpu/drm/drm_buddy.c:517:6: warning: no previous prototype
for 'drm_buddy_module_exit' [-Wmissing-prototypes]
517 | void
drm_buddy_module_exit(void)
| ^~~~~~~~~~~~~~~~~~~~~
> drivers/gpu/drm/drm_buddy.c:522:12: warning: no previous
prototype for 'drm_buddy_module_init' [-Wmissing-prototypes]
522 | int
__init drm_buddy_module_init(void)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/drm_buddy_module_exit +517 drivers/gpu/drm/drm_buddy.c
516
517 void drm_buddy_module_exit(void)
518 {
519 kmem_cache_destroy(slab_blocks);
520 }
521
522 int __init drm_buddy_module_init(void)
523 {
524 slab_blocks = KMEM_CACHE(drm_buddy_block, 0);
525 if (!slab_blocks)
526 return -ENOMEM;
527
528 return 0;
529 }
530
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org