From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EAFEC43334 for ; Fri, 8 Jul 2022 17:17:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E983D6B0073; Fri, 8 Jul 2022 13:17:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E22556B0075; Fri, 8 Jul 2022 13:17:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CC1396B007B; Fri, 8 Jul 2022 13:17:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id B8AA36B0073 for ; Fri, 8 Jul 2022 13:17:04 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 782D320738 for ; Fri, 8 Jul 2022 17:17:04 +0000 (UTC) X-FDA: 79664587968.13.1DAEF4C Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf18.hostedemail.com (Postfix) with ESMTP id 30DC01C0013 for ; Fri, 8 Jul 2022 17:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657300623; x=1688836623; h=date:from:to:cc:subject:message-id:mime-version; bh=pC+2/rBUja//IMlc760pKRue825TaWgK5JHe9TZPuFs=; b=XlSVJnpVd7Eg3NvZnb+tIzi4ZW2YdwxgvDsmlRyB0HK0I1omVXy0kNoi IbqppiaU7XXIziRwWOPOlihknhH+ztxHAGdJiMvq2b43OejZCZ3T4Zn8Q riiM8vcCma15VUKHbGGBpdBqABN8MmiIRpJ0OCRECQy7QlGY31lrYgyqX Xphch4QXFhdv+yHcq0t4q3ZWIqo7r1Md5ZFC6THgTf0e3avrpS6nBHlZ/ cujHNAuab9T0nUSA+TAFb2sPV4JMIAxU31jEKqxuBsvxoBHwUkXFdxLsQ ox3/6l0I6wQaEyuxqJMn7pnWJmnEHPvlqFhQBE+7AjlM8UfjjROt2wsds w==; X-IronPort-AV: E=McAfee;i="6400,9594,10402"; a="283082637" X-IronPort-AV: E=Sophos;i="5.92,256,1650956400"; d="scan'208";a="283082637" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2022 10:17:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,256,1650956400"; d="scan'208";a="626768821" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 08 Jul 2022 10:17:00 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o9rb9-000NjA-BF; Fri, 08 Jul 2022 17:16:59 +0000 Date: Sat, 9 Jul 2022 01:16:25 +0800 From: kernel test robot To: Rodrigo Siqueira Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Alex Deucher Subject: [linux-next:master 7253/8914] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2720:6: warning: no previous prototype for function 'dc_reset_state' Message-ID: <202207090100.acXdJ79H-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1657300624; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=N6ONS1jNoDREYeiX5UpJMHNFqf2nOFDrdjll8A9LGTc=; b=INVwZeZQ6seybf4ehtgiGEh00M49ufsRUlPJeDzdFfL1J4g3qpIiDAHSP1f3PZ+q+GbGi6 AkS55D0vARQkifDsIEFT9GxlgZipvDrKmncvRGIQTGE6uAzkK4eS9tnQjIpCHTT4QvaCmJ SrKeGZ1dbc0OghaJvPpwW255cC3L5d0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1657300624; a=rsa-sha256; cv=none; b=LqKmNspRrhux9Rayr2/8O0jNwyH59RQUQckE3rts/MsHapLwl2pFjONcfa80Ol9Mfo/qhK IynpnhzB8E46E/JVoMHH39hbktzigJwmtdcdy9bKki+DCVYfqxWghSwplu0Ma9byj6tdxK CZ1RaX5wRrXdVhSEIp/ZeSQjgDyzF/s= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=XlSVJnpV; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf18.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=XlSVJnpV; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf18.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com X-Rspamd-Server: rspam02 X-Stat-Signature: owujwy59639to4pmemognmhcbhse8fhk X-Rspamd-Queue-Id: 30DC01C0013 X-Rspam-User: X-HE-Tag: 1657300622-234239 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f2528c29385819a84480cacef4886b049761e2c5 commit: 97ca308925a50aa80711ccfaf814fa3898374862 [7253/8914] drm/amd/display: Add minimal pipe split transition state config: riscv-randconfig-r006-20220707 (https://download.01.org/0day-ci/archive/20220709/202207090100.acXdJ79H-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 562c3467a6738aa89203f72fc1d1343e5baadf3c) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=97ca308925a50aa80711ccfaf814fa3898374862 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 97ca308925a50aa80711ccfaf814fa3898374862 # save the config file mkdir build_dir && cp config build_dir/.config 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 where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2720:6: warning: no previous prototype for function 'dc_reset_state' [-Wmissing-prototypes] void dc_reset_state(struct dc *dc, struct dc_state *context) ^ drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2720:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void dc_reset_state(struct dc *dc, struct dc_state *context) ^ static 1 warning generated. vim +/dc_reset_state +2720 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c 2719 > 2720 void dc_reset_state(struct dc *dc, struct dc_state *context) 2721 { 2722 dc_resource_state_destruct(context); 2723 2724 /* clear the structure, but don't reset the reference count */ 2725 memset(context, 0, offsetof(struct dc_state, refcount)); 2726 2727 init_state(dc, context); 2728 } 2729 -- 0-DAY CI Kernel Test Service https://01.org/lkp