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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68B5DC433F5 for ; Thu, 3 Mar 2022 12:23:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233189AbiCCMYk (ORCPT ); Thu, 3 Mar 2022 07:24:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbiCCMYk (ORCPT ); Thu, 3 Mar 2022 07:24:40 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF596F47CC for ; Thu, 3 Mar 2022 04:23:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646310234; x=1677846234; h=date:from:to:cc:subject:message-id:mime-version; bh=5A8+UwEKET76Z6QSlxRtN3MfuThIgRUQ9Vh7luEAVyQ=; b=a2d1kUDws6ohhA/unXoBTd92VO4CoWABm4vlYeNFuCoUFRlKj55OJC4J kuSB+fodaVA0TuoIxi9DMhpJ9IHY7fXiixF0oEvx9IzJwG78RI1If5Ba8 Wq4Op22RHyXP+scgiHUpfomlTwjySxoCOQg6zLspljA2GirwhOwff8bJR WPBwLZbQvSweJKPRHl07Ig+kdMYSNKcXNV+/x2m5Wzc7UWmtoadR79knA Jhtic3zlXBBolt3tpkJVyUgWe6eQJE0x3fhhOYNOCrsgO7HNcd7/zREJm iBWbKdvIOjYiyIOweNNvid+9dOiSiwb4CfcnyKUYwwVnMNp3fnraNcXRq w==; X-IronPort-AV: E=McAfee;i="6200,9189,10274"; a="253589635" X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="253589635" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2022 04:23:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="709906632" Received: from lkp-server01.sh.intel.com (HELO ccb16ba0ecc3) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 03 Mar 2022 04:23:52 -0800 Received: from kbuild by ccb16ba0ecc3 with local (Exim 4.92) (envelope-from ) id 1nPkUq-0000UR-3z; Thu, 03 Mar 2022 12:23:52 +0000 Date: Thu, 3 Mar 2022 20:22:59 +0800 From: kernel test robot To: yipechai Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Alex Deucher , Tao Zhou Subject: [agd5f:drm-next 16/45] drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c:27:6: warning: no previous prototype for 'amdgpu_mmhub_ras_fini' Message-ID: <202203032029.NklrWWSk-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next head: efa8692773c96d85dd24fdb76e49ff9056f963a1 commit: 9dad47c50f9bf19153c092a73eb4721344f4a78d [16/45] drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in mmhub ras block config: ia64-randconfig-r012-20220303 (https://download.01.org/0day-ci/archive/20220303/202203032029.NklrWWSk-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 11.2.0 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 git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git git fetch --no-tags agd5f drm-next git checkout 9dad47c50f9bf19153c092a73eb4721344f4a78d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c:27:6: warning: no previous prototype for 'amdgpu_mmhub_ras_fini' [-Wmissing-prototypes] 27 | void amdgpu_mmhub_ras_fini(struct amdgpu_device *adev, struct ras_common_if *ras_block) | ^~~~~~~~~~~~~~~~~~~~~ vim +/amdgpu_mmhub_ras_fini +27 drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c 47930de4aa70681 Hawking Zhang 2019-09-03 26 01d468d9a420152 yipechai 2022-02-17 @27 void amdgpu_mmhub_ras_fini(struct amdgpu_device *adev, struct ras_common_if *ras_block) 196041205cd4838 Tao Zhou 2019-09-18 28 { 9dad47c50f9bf19 yipechai 2022-02-14 29 :::::: The code at line 27 was first introduced by commit :::::: 01d468d9a420152e4a1270992e69a37ea0c98e04 drm/amdgpu: Modify .ras_fini function pointer parameter :::::: TO: yipechai :::::: CC: Alex Deucher --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org