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]
Message-ID: <202202151850.04BAOxth-lkp@intel.com>
Date:   Tue, 15 Feb 2022 19:23:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     Bas Nieuwenhuizen <bas@...nieuwenhuizen.nl>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>
Subject: [agd5f:drm-next 25/34]
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:991:3: error: implicit
 declaration of function 'DC_FP_START'

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   076172cdc7ab4983ed7596a53b95851849269e5a
commit: af45a5fe4f0af159db23e8bf851115b61031c648 [25/34] drm/amd/display: Protect update_bw_bounding_box FPU code.
config: riscv-randconfig-r033-20220214 (https://download.01.org/0day-ci/archive/20220215/202202151850.04BAOxth-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 37f422f4ac31c8b8041c6b62065263314282dab6)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout af45a5fe4f0af159db23e8bf851115b61031c648
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:64:
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30:
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67:
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2921:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
                   uint64_t temp;
                            ^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:991:3: error: implicit declaration of function 'DC_FP_START' [-Werror,-Wimplicit-function-declaration]
                   DC_FP_START();
                   ^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:993:3: error: implicit declaration of function 'DC_FP_END' [-Werror,-Wimplicit-function-declaration]
                   DC_FP_END();
                   ^
   1 warning and 2 errors generated.


vim +/DC_FP_START +991 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c

   989	
   990		if (dc->res_pool->funcs->update_bw_bounding_box) {
 > 991			DC_FP_START();
   992			dc->res_pool->funcs->update_bw_bounding_box(dc, dc->clk_mgr->bw_params);
 > 993			DC_FP_END();
   994		}
   995	
   996		/* Creation of current_state must occur after dc->dml
   997		 * is initialized in dc_create_resource_pool because
   998		 * on creation it copies the contents of dc->dml
   999		 */
  1000	
  1001		dc->current_state = dc_create_state(dc);
  1002	
  1003		if (!dc->current_state) {
  1004			dm_error("%s: failed to create validate ctx\n", __func__);
  1005			goto fail;
  1006		}
  1007	
  1008		if (!create_links(dc, init_params->num_virtual_links))
  1009			goto fail;
  1010	
  1011		/* Create additional DIG link encoder objects if fewer than the platform
  1012		 * supports were created during link construction.
  1013		 */
  1014		if (!create_link_encoders(dc))
  1015			goto fail;
  1016	
  1017		dc_resource_state_construct(dc, dc->current_state);
  1018	
  1019		return true;
  1020	
  1021	fail:
  1022		return false;
  1023	}
  1024	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ