[linux-next:master 12486/12841] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:231: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bdcc9f6a568275aed4cc32fd2312432d2ff1b704
commit: e5dfcd272722fe3948837e7f1ca7aafb471037b1 [12486/12841] drm/amd/display: dc_link_set_psr_allow_active refactoring
config: i386-randconfig-a012-20211028 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e5dfcd272722fe3948837e7f1ca7aafb471037b1
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout e5dfcd272722fe3948837e7f1ca7aafb471037b1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:231: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Set PSR power optimization flags.


vim +231 drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c

   229	
   230	/**
 > 231	 * Set PSR power optimization flags.
   232	 */
   233	static void dmub_psr_set_power_opt(struct dmub_psr *dmub, unsigned int power_opt)
   234	{
   235		union dmub_rb_cmd cmd;
   236		struct dc_context *dc = dmub->ctx;
   237	
   238		memset(&cmd, 0, sizeof(cmd));
   239		cmd.psr_set_power_opt.header.type = DMUB_CMD__PSR;
   240		cmd.psr_set_power_opt.header.sub_type = DMUB_CMD__SET_PSR_POWER_OPT;
   241		cmd.psr_set_power_opt.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_power_opt_data);
   242		cmd.psr_set_power_opt.psr_set_power_opt_data.power_opt = power_opt;
   243	
   244		dc_dmub_srv_cmd_queue(dc->dmub_srv, &cmd);
   245		dc_dmub_srv_cmd_execute(dc->dmub_srv);
   246		dc_dmub_srv_wait_idle(dc->dmub_srv);
   247	}
   248	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux