All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arunpravin <Arunpravin.PaneerSelvam@amd.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH v7 6/6] drm/amdgpu: add drm buddy support to amdgpu
Date: Mon, 10 Jan 2022 17:58:58 +0800	[thread overview]
Message-ID: <202201101727.lThEC1FU-lkp@intel.com> (raw)
In-Reply-To: <20220109141951.134432-6-Arunpravin.PaneerSelvam@amd.com>

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-allocator-from-i915-into-common-drm/20220109-222233
base:   5313fb2c779f74bc5083e9d3738d9b2c2ebe0aa4
config: riscv-randconfig-r042-20220109 (https://download.01.org/0day-ci/archive/20220110/202201101727.lThEC1FU-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f3a344d2125fa37e59bae1b0874442c650a19607)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/0day-ci/linux/commit/851f609d90fe77055b3c45169a1ddd469d5ae8ab
        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 851f609d90fe77055b3c45169a1ddd469d5ae8ab
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/drm_buddy.c:764:6: warning: no previous prototype for function 'drm_buddy_module_exit' [-Wmissing-prototypes]
   void drm_buddy_module_exit(void)
        ^
   drivers/gpu/drm/drm_buddy.c:764:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void drm_buddy_module_exit(void)
   ^
   static 
>> drivers/gpu/drm/drm_buddy.c:769:12: warning: no previous prototype for function 'drm_buddy_module_init' [-Wmissing-prototypes]
   int __init drm_buddy_module_init(void)
              ^
   drivers/gpu/drm/drm_buddy.c:769:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int __init drm_buddy_module_init(void)
   ^
   static 
   2 warnings generated.


vim +/drm_buddy_module_exit +764 drivers/gpu/drm/drm_buddy.c

47666a7da23e2e Arunpravin 2022-01-09  763  
47666a7da23e2e Arunpravin 2022-01-09 @764  void drm_buddy_module_exit(void)
47666a7da23e2e Arunpravin 2022-01-09  765  {
47666a7da23e2e Arunpravin 2022-01-09  766  	kmem_cache_destroy(slab_blocks);
47666a7da23e2e Arunpravin 2022-01-09  767  }
47666a7da23e2e Arunpravin 2022-01-09  768  
47666a7da23e2e Arunpravin 2022-01-09 @769  int __init drm_buddy_module_init(void)
47666a7da23e2e Arunpravin 2022-01-09  770  {
47666a7da23e2e Arunpravin 2022-01-09  771  	slab_blocks = KMEM_CACHE(drm_buddy_block, 0);
47666a7da23e2e Arunpravin 2022-01-09  772  	if (!slab_blocks)
47666a7da23e2e Arunpravin 2022-01-09  773  		return -ENOMEM;
47666a7da23e2e Arunpravin 2022-01-09  774  
47666a7da23e2e Arunpravin 2022-01-09  775  	return 0;
47666a7da23e2e Arunpravin 2022-01-09  776  }
47666a7da23e2e Arunpravin 2022-01-09  777  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v7 6/6] drm/amdgpu: add drm buddy support to amdgpu
Date: Mon, 10 Jan 2022 17:58:58 +0800	[thread overview]
Message-ID: <202201101727.lThEC1FU-lkp@intel.com> (raw)
In-Reply-To: <20220109141951.134432-6-Arunpravin.PaneerSelvam@amd.com>

[-- Attachment #1: Type: text/plain, Size: 3429 bytes --]

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-allocator-from-i915-into-common-drm/20220109-222233
base:   5313fb2c779f74bc5083e9d3738d9b2c2ebe0aa4
config: riscv-randconfig-r042-20220109 (https://download.01.org/0day-ci/archive/20220110/202201101727.lThEC1FU-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f3a344d2125fa37e59bae1b0874442c650a19607)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/0day-ci/linux/commit/851f609d90fe77055b3c45169a1ddd469d5ae8ab
        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 851f609d90fe77055b3c45169a1ddd469d5ae8ab
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/drm_buddy.c:764:6: warning: no previous prototype for function 'drm_buddy_module_exit' [-Wmissing-prototypes]
   void drm_buddy_module_exit(void)
        ^
   drivers/gpu/drm/drm_buddy.c:764:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void drm_buddy_module_exit(void)
   ^
   static 
>> drivers/gpu/drm/drm_buddy.c:769:12: warning: no previous prototype for function 'drm_buddy_module_init' [-Wmissing-prototypes]
   int __init drm_buddy_module_init(void)
              ^
   drivers/gpu/drm/drm_buddy.c:769:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int __init drm_buddy_module_init(void)
   ^
   static 
   2 warnings generated.


vim +/drm_buddy_module_exit +764 drivers/gpu/drm/drm_buddy.c

47666a7da23e2e Arunpravin 2022-01-09  763  
47666a7da23e2e Arunpravin 2022-01-09 @764  void drm_buddy_module_exit(void)
47666a7da23e2e Arunpravin 2022-01-09  765  {
47666a7da23e2e Arunpravin 2022-01-09  766  	kmem_cache_destroy(slab_blocks);
47666a7da23e2e Arunpravin 2022-01-09  767  }
47666a7da23e2e Arunpravin 2022-01-09  768  
47666a7da23e2e Arunpravin 2022-01-09 @769  int __init drm_buddy_module_init(void)
47666a7da23e2e Arunpravin 2022-01-09  770  {
47666a7da23e2e Arunpravin 2022-01-09  771  	slab_blocks = KMEM_CACHE(drm_buddy_block, 0);
47666a7da23e2e Arunpravin 2022-01-09  772  	if (!slab_blocks)
47666a7da23e2e Arunpravin 2022-01-09  773  		return -ENOMEM;
47666a7da23e2e Arunpravin 2022-01-09  774  
47666a7da23e2e Arunpravin 2022-01-09  775  	return 0;
47666a7da23e2e Arunpravin 2022-01-09  776  }
47666a7da23e2e Arunpravin 2022-01-09  777  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

  reply	other threads:[~2022-01-10  9:59 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-09 14:19 [PATCH v7 1/6] drm: move the buddy allocator from i915 into common drm Arunpravin
2022-01-09 14:19 ` Arunpravin
2022-01-09 14:19 ` [Intel-gfx] " Arunpravin
2022-01-09 14:19 ` [PATCH v7 2/6] drm: improve drm_buddy_alloc function Arunpravin
2022-01-09 14:19   ` Arunpravin
2022-01-09 14:19   ` [Intel-gfx] " Arunpravin
2022-01-09 14:19 ` [PATCH v7 3/6] drm: implement top-down allocation method Arunpravin
2022-01-09 14:19   ` Arunpravin
2022-01-09 14:19   ` [Intel-gfx] " Arunpravin
2022-01-09 14:19 ` [PATCH v7 4/6] drm: implement a method to free unused pages Arunpravin
2022-01-09 14:19   ` Arunpravin
2022-01-09 14:19   ` [Intel-gfx] " Arunpravin
2022-01-09 14:19 ` [PATCH v7 5/6] drm/amdgpu: move vram inline functions into a header Arunpravin
2022-01-09 14:19   ` Arunpravin
2022-01-09 14:19   ` [Intel-gfx] " Arunpravin
2022-01-09 14:19 ` [PATCH v7 6/6] drm/amdgpu: add drm buddy support to amdgpu Arunpravin
2022-01-09 14:19   ` Arunpravin
2022-01-09 14:19   ` [Intel-gfx] " Arunpravin
2022-01-10  9:58   ` kernel test robot [this message]
2022-01-10  9:58     ` kernel test robot
2022-01-09 14:43 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v7,1/6] drm: move the buddy allocator from i915 into common drm Patchwork
2022-01-09 14:46 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-01-09 15:02 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-01-09 16:22 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-01-10  8:03 ` [PATCH v7 1/6] " Christian König
2022-01-10  8:03   ` Christian König
2022-01-10  8:03   ` [Intel-gfx] " Christian König
2022-01-11 20:12   ` Arunpravin
2022-01-11 20:12     ` Arunpravin
2022-01-11 20:12     ` [Intel-gfx] " Arunpravin
2022-01-10  9:58 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201101727.lThEC1FU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Arunpravin.PaneerSelvam@amd.com \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.