lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 4 Jun 2022 22:36:42 +0800
From:   kernel test robot <lkp@...el.com>
To:     Eric Bernstein <eric.bernstein@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>
Subject: [agd5f:drm-next 44/63]
 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:180:6: warning:
 no previous prototype for 'dccg32_set_valid_pixel_rate'

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   0401cdad37f8a62e64363b2a6fc16c7fafba66e2
commit: 0fa8930c48889344f93251e749deb8fa0257532d [44/63] drm/amd/display: Use DTBCLK for valid pixel clock
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220604/202206042226.yKcIBQny-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-1) 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 0fa8930c48889344f93251e749deb8fa0257532d
        # 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@...el.com>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:136:6: warning: no previous prototype for 'dccg32_set_dtbclk_dto' [-Wmissing-prototypes]
     136 | void dccg32_set_dtbclk_dto(
         |      ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:180:6: warning: no previous prototype for 'dccg32_set_valid_pixel_rate' [-Wmissing-prototypes]
     180 | void dccg32_set_valid_pixel_rate(
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:205:6: warning: no previous prototype for 'dccg32_set_dpstreamclk' [-Wmissing-prototypes]
     205 | void dccg32_set_dpstreamclk(
         |      ^~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:241:6: warning: no previous prototype for 'dccg32_otg_add_pixel' [-Wmissing-prototypes]
     241 | void dccg32_otg_add_pixel(struct dccg *dccg,
         |      ^~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:250:6: warning: no previous prototype for 'dccg32_otg_drop_pixel' [-Wmissing-prototypes]
     250 | void dccg32_otg_drop_pixel(struct dccg *dccg,
         |      ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
                    from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:27:
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:133:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=]
     133 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
         |                      ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:130:17: warning: 'DP_SINK_BRANCH_DEV_NAME_7580' defined but not used [-Wunused-const-variable=]
     130 | static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u";
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:128:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
     128 | 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:127:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
     127 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~


vim +/dccg32_set_valid_pixel_rate +180 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c

   179	
 > 180	void dccg32_set_valid_pixel_rate(
   181			struct dccg *dccg,
   182			int otg_inst,
   183			int pixclk_khz)
   184	{
   185		struct dtbclk_dto_params dto_params = {0};
   186	
   187		dto_params.otg_inst = otg_inst;
   188		dto_params.pixclk_khz = pixclk_khz;
   189	
   190		dccg32_set_dtbclk_dto(dccg, &dto_params);
   191	}
   192	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ