From: kernel test robot <lkp@intel.com>
To: Le Ma <le.ma@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
Alex Deucher <alexander.deucher@amd.com>,
Hawking Zhang <Hawking.Zhang@amd.com>
Subject: [agd5f:drm-next 62/67] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:48:38: warning: 'golden_settings_gc_9_4_3' defined but not used
Date: Wed, 19 Apr 2023 20:17:17 +0800 [thread overview]
Message-ID: <202304192048.uuNplYDR-lkp@intel.com> (raw)
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: 86b20703e4c5a3c39891def0a68e7438aeca9db9
commit: 86301129698be52f8398f92ea8564168f6bfcae1 [62/67] drm/amdgpu: split gc v9_4_3 functionality from gc v9_0
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230419/202304192048.uuNplYDR-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next
git checkout 86301129698be52f8398f92ea8564168f6bfcae1
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304192048.uuNplYDR-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:1049:6: warning: no previous prototype for 'gfx_v9_4_3_disable_gpa_mode' [-Wmissing-prototypes]
1049 | void gfx_v9_4_3_disable_gpa_mode(struct amdgpu_device *adev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:48:38: warning: 'golden_settings_gc_9_4_3' defined but not used [-Wunused-const-variable=]
48 | static const struct soc15_reg_golden golden_settings_gc_9_4_3[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/golden_settings_gc_9_4_3 +48 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
47
> 48 static const struct soc15_reg_golden golden_settings_gc_9_4_3[] = {
49
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-04-19 12:17 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=202304192048.uuNplYDR-lkp@intel.com \
--to=lkp@intel.com \
--cc=Hawking.Zhang@amd.com \
--cc=alexander.deucher@amd.com \
--cc=le.ma@amd.com \
--cc=oe-kbuild-all@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.