* [agd5f:drm-next 423/465] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1427:6: warning: no previous prototype for 'retrieve_dmi_info'
@ 2022-07-13 3:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-13 3:13 UTC (permalink / raw)
To: Fangzhi Zuo; +Cc: kbuild-all, linux-kernel, Alex Deucher
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: 0365a66ae4438923eb981c265a2152cc95e89c91
commit: 19a459dfedd49deef6cd3169597df1b414c65f10 [423/465] drm/amd/display: Ignore First MST Sideband Message Return Error
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220713/202207131128.zyQigy2v-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 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 19a459dfedd49deef6cd3169597df1b414c65f10
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1427:6: warning: no previous prototype for 'retrieve_dmi_info' [-Wmissing-prototypes]
1427 | void retrieve_dmi_info(struct amdgpu_display_manager *dm)
| ^~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/link_enc_cfg.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:32:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:137:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=]
137 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:134:17: warning: 'DP_SINK_BRANCH_DEV_NAME_7580' defined but not used [-Wunused-const-variable=]
134 | static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:132:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
132 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0};
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:131:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
131 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/retrieve_dmi_info +1427 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c
1426
> 1427 void retrieve_dmi_info(struct amdgpu_display_manager *dm)
1428 {
1429 const struct dmi_system_id *dmi_id;
1430
1431 dm->aux_hpd_discon_quirk = false;
1432
1433 dmi_id = dmi_first_match(hpd_disconnect_quirk_table);
1434 if (dmi_id) {
1435 dm->aux_hpd_discon_quirk = true;
1436 DRM_INFO("aux_hpd_discon_quirk attached\n");
1437 }
1438 }
1439
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-13 3:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 3:13 [agd5f:drm-next 423/465] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1427:6: warning: no previous prototype for 'retrieve_dmi_info' kernel test robot
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).