linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sunil Khatri <sunil.khatri@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
	"Linux Memory Management List" <linux-mm@kvack.org>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>
Subject: [linux-next:master 1757/2025] drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:49: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_0_early_init'
Date: Wed, 2 Oct 2024 16:10:34 +0800	[thread overview]
Message-ID: <202410021623.jPupzVoB-lkp@intel.com> (raw)

Hi Sunil,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   fe21733536749bb1b31c9c84e0b8d2ab8d82ce13
commit: 146b085eadd2ce405e67492a80d6e767748d5642 [1757/2025] drm/amdgpu: update the handle ptr in early_init
config: riscv-buildonly-randconfig-r004-20230123 (https://download.01.org/0day-ci/archive/20241002/202410021623.jPupzVoB-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241002/202410021623.jPupzVoB-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410021623.jPupzVoB-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:49: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_0_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:49: warning: Excess function parameter 'handle' description in 'jpeg_v2_0_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:466: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v1_0_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:466: warning: Excess function parameter 'handle' description in 'jpeg_v1_0_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:50: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v3_0_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:50: warning: Excess function parameter 'handle' description in 'jpeg_v3_0_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c:56: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c:56: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:58: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_5_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:58: warning: Excess function parameter 'handle' description in 'jpeg_v2_5_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c:50: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v5_0_0_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c:50: warning: Excess function parameter 'handle' description in 'jpeg_v5_0_0_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c:76: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_3_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c:76: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_3_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c:69: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_5_early_init'
>> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c:69: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_5_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:104: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v1_0_early_init'
>> drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:104: warning: Excess function parameter 'handle' description in 'vcn_v1_0_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:96: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v5_0_0_early_init'
>> drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:96: warning: Excess function parameter 'handle' description in 'vcn_v5_0_0_early_init'
--
>> drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:113: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v4_0_5_early_init'
>> drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:113: warning: Excess function parameter 'handle' description in 'vcn_v4_0_5_early_init'
..


vim +49 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c

6ac27241106bc9 Leo Liu      2019-11-08  35  
6ac27241106bc9 Leo Liu      2019-11-08  36  static void jpeg_v2_0_set_dec_ring_funcs(struct amdgpu_device *adev);
6ac27241106bc9 Leo Liu      2019-11-08  37  static void jpeg_v2_0_set_irq_funcs(struct amdgpu_device *adev);
6ac27241106bc9 Leo Liu      2019-11-08  38  static int jpeg_v2_0_set_powergating_state(void *handle,
6ac27241106bc9 Leo Liu      2019-11-08  39  				enum amd_powergating_state state);
6ac27241106bc9 Leo Liu      2019-11-08  40  
6ac27241106bc9 Leo Liu      2019-11-08  41  /**
6ac27241106bc9 Leo Liu      2019-11-08  42   * jpeg_v2_0_early_init - set function pointers
6ac27241106bc9 Leo Liu      2019-11-08  43   *
6ac27241106bc9 Leo Liu      2019-11-08  44   * @handle: amdgpu_device pointer
6ac27241106bc9 Leo Liu      2019-11-08  45   *
6ac27241106bc9 Leo Liu      2019-11-08  46   * Set ring and irq function pointers
6ac27241106bc9 Leo Liu      2019-11-08  47   */
146b085eadd2ce Sunil Khatri 2024-09-25  48  static int jpeg_v2_0_early_init(struct amdgpu_ip_block *ip_block)
6ac27241106bc9 Leo Liu      2019-11-08 @49  {
146b085eadd2ce Sunil Khatri 2024-09-25  50  	struct amdgpu_device *adev = ip_block->adev;
6ac27241106bc9 Leo Liu      2019-11-08  51  
6ac27241106bc9 Leo Liu      2019-11-08  52  	adev->jpeg.num_jpeg_inst = 1;
28bb7f13e70dcd James Zhu    2023-05-24  53  	adev->jpeg.num_jpeg_rings = 1;
6ac27241106bc9 Leo Liu      2019-11-08  54  
6ac27241106bc9 Leo Liu      2019-11-08  55  	jpeg_v2_0_set_dec_ring_funcs(adev);
6ac27241106bc9 Leo Liu      2019-11-08  56  	jpeg_v2_0_set_irq_funcs(adev);
6ac27241106bc9 Leo Liu      2019-11-08  57  
6ac27241106bc9 Leo Liu      2019-11-08  58  	return 0;
6ac27241106bc9 Leo Liu      2019-11-08  59  }
6ac27241106bc9 Leo Liu      2019-11-08  60  

:::::: The code at line 49 was first introduced by commit
:::::: 6ac27241106bc946bd50032f4cd96899c6a6fe69 drm/amdgpu: add JPEG v2.0 function supports

:::::: TO: Leo Liu <leo.liu@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


                 reply	other threads:[~2024-10-02  8:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202410021623.jPupzVoB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.deucher@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sunil.khatri@amd.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).