From: kernel test robot <lkp@intel.com> To: Alex Deucher <alexander.deucher@amd.com> Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Dave Airlie <airlied@redhat.com> Subject: drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c:109:37: warning: unused variable 'amdgpu_rap_debugfs_ops' Date: Fri, 9 Apr 2021 20:45:56 +0800 [thread overview] Message-ID: <202104092041.UGUtDgSq-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 2885 bytes --] Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 17e7124aad766b3f158943acb51467f86220afe9 commit: 0c8d22fcae2f9590a07b000e1724f665820b77f7 Merge tag 'amd-drm-next-5.10-2020-09-03' of git://people.freedesktop.org/~agd5f/linux into drm-next date: 7 months ago config: arm64-randconfig-r035-20210409 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dd453a1389b6a7e6d9214b449d3c54981b1a89b6) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0c8d22fcae2f9590a07b000e1724f665820b77f7 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 0c8d22fcae2f9590a07b000e1724f665820b77f7 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 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/amd/amdgpu/amdgpu_rap.c:109:37: warning: unused variable 'amdgpu_rap_debugfs_ops' [-Wunused-const-variable] static const struct file_operations amdgpu_rap_debugfs_ops = { ^ 1 warning generated. -- >> drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c:41:34: warning: unused variable 'clocks' [-Wunused-const-variable] static const struct cg_flag_name clocks[] = { ^ 1 warning generated. vim +/amdgpu_rap_debugfs_ops +109 drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c a4322e1881bed8 Wenhui Sheng 2020-08-11 108 a4322e1881bed8 Wenhui Sheng 2020-08-11 @109 static const struct file_operations amdgpu_rap_debugfs_ops = { a4322e1881bed8 Wenhui Sheng 2020-08-11 110 .owner = THIS_MODULE, a4322e1881bed8 Wenhui Sheng 2020-08-11 111 .read = NULL, a4322e1881bed8 Wenhui Sheng 2020-08-11 112 .write = amdgpu_rap_debugfs_write, a4322e1881bed8 Wenhui Sheng 2020-08-11 113 .llseek = default_llseek a4322e1881bed8 Wenhui Sheng 2020-08-11 114 }; a4322e1881bed8 Wenhui Sheng 2020-08-11 115 :::::: The code at line 109 was first introduced by commit :::::: a4322e1881bed80ddb904482f0b2e948fa7fd47e drm/amdgpu: add debugfs interface for RAP test :::::: TO: Wenhui Sheng <Wenhui.Sheng@amd.com> :::::: CC: Alex Deucher <alexander.deucher@amd.com> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 31484 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c:109:37: warning: unused variable 'amdgpu_rap_debugfs_ops' Date: Fri, 09 Apr 2021 20:45:56 +0800 [thread overview] Message-ID: <202104092041.UGUtDgSq-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 2945 bytes --] Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 17e7124aad766b3f158943acb51467f86220afe9 commit: 0c8d22fcae2f9590a07b000e1724f665820b77f7 Merge tag 'amd-drm-next-5.10-2020-09-03' of git://people.freedesktop.org/~agd5f/linux into drm-next date: 7 months ago config: arm64-randconfig-r035-20210409 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dd453a1389b6a7e6d9214b449d3c54981b1a89b6) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0c8d22fcae2f9590a07b000e1724f665820b77f7 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 0c8d22fcae2f9590a07b000e1724f665820b77f7 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 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/amd/amdgpu/amdgpu_rap.c:109:37: warning: unused variable 'amdgpu_rap_debugfs_ops' [-Wunused-const-variable] static const struct file_operations amdgpu_rap_debugfs_ops = { ^ 1 warning generated. -- >> drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c:41:34: warning: unused variable 'clocks' [-Wunused-const-variable] static const struct cg_flag_name clocks[] = { ^ 1 warning generated. vim +/amdgpu_rap_debugfs_ops +109 drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c a4322e1881bed8 Wenhui Sheng 2020-08-11 108 a4322e1881bed8 Wenhui Sheng 2020-08-11 @109 static const struct file_operations amdgpu_rap_debugfs_ops = { a4322e1881bed8 Wenhui Sheng 2020-08-11 110 .owner = THIS_MODULE, a4322e1881bed8 Wenhui Sheng 2020-08-11 111 .read = NULL, a4322e1881bed8 Wenhui Sheng 2020-08-11 112 .write = amdgpu_rap_debugfs_write, a4322e1881bed8 Wenhui Sheng 2020-08-11 113 .llseek = default_llseek a4322e1881bed8 Wenhui Sheng 2020-08-11 114 }; a4322e1881bed8 Wenhui Sheng 2020-08-11 115 :::::: The code at line 109 was first introduced by commit :::::: a4322e1881bed80ddb904482f0b2e948fa7fd47e drm/amdgpu: add debugfs interface for RAP test :::::: TO: Wenhui Sheng <Wenhui.Sheng@amd.com> :::::: CC: Alex Deucher <alexander.deucher@amd.com> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 31484 bytes --]
next reply other threads:[~2021-04-09 12:46 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-09 12:45 kernel test robot [this message] 2021-04-09 12:45 ` drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c:109:37: warning: unused variable 'amdgpu_rap_debugfs_ops' kernel test robot -- strict thread matches above, loose matches on Subject: below -- 2021-08-21 18:41 kernel test robot 2021-08-21 18:41 ` kernel test robot 2021-06-27 11:43 kernel test robot 2021-06-27 11:43 ` kernel test robot 2021-06-13 5:14 kernel test robot 2021-06-13 5:14 ` kernel test robot 2021-05-10 17:33 kernel test robot 2021-05-10 17:33 ` kernel test robot 2021-03-15 4:39 kernel test robot 2021-03-15 4:39 ` kernel test robot 2021-01-25 4:43 kernel test robot 2021-01-25 4:43 ` 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=202104092041.UGUtDgSq-lkp@intel.com \ --to=lkp@intel.com \ --cc=airlied@redhat.com \ --cc=alexander.deucher@amd.com \ --cc=clang-built-linux@googlegroups.com \ --cc=kbuild-all@lists.01.org \ --cc=linux-kernel@vger.kernel.org \ /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: linkBe 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.