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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 61476C6FD18 for ; Thu, 30 Mar 2023 00:08:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3821510EC83; Thu, 30 Mar 2023 00:08:23 +0000 (UTC) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id E779F10EC83; Thu, 30 Mar 2023 00:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680134901; x=1711670901; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qReL1NQAo0s/ltkUWifMa5AxIawdGoSXs3VTdwExSJY=; b=EPSWoWVIctwplJA+5WbuL2wAI5u1NFqNL9JswxhSKHn9laJC0BaaW/cx R71qq3/aXkivq+sufSVqjlOxkRZSQCPXMxKqV+goXfSOh+s5Xx3i6g3Fu VsWenbx4uoJNrPyaptXLljuN695I6NzOz2OtVBnJHa2DUZxHR0i0E1kYA aCwvsjT9H7H4ttu3AD5f0913diznnraCJTFwUu/cizIdFaB85x61iJCOO sv7U/wM2S+8cPNoedi7ZQBGMeS9W2X5VTd1eUEbC1KlJ04ojY0ERVets/ I0Dn7sXjw00htkU5ROur3r8ygymgyTtc27vR4UpY9TVL+X+LXIl4tZ++T A==; X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="341048613" X-IronPort-AV: E=Sophos;i="5.98,301,1673942400"; d="scan'208";a="341048613" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2023 17:08:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="753791960" X-IronPort-AV: E=Sophos;i="5.98,301,1673942400"; d="scan'208";a="753791960" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 29 Mar 2023 17:08:17 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1phfpw-000K4W-2s; Thu, 30 Mar 2023 00:08:16 +0000 Date: Thu, 30 Mar 2023 08:07:32 +0800 From: kernel test robot To: Sui Jingfeng <15330273260@189.cn>, Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , Li Yi Subject: Re: [PATCH v3 5/6] drm/etnaviv: expand driver support for the pci devices Message-ID: <202303300759.E9lbKNTQ-lkp@intel.com> References: <20230329205129.1513734-6-15330273260@189.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230329205129.1513734-6-15330273260@189.cn> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, Sui Jingfeng , linux-kernel@vger.kernel.org, etnaviv@lists.freedesktop.org, oe-kbuild-all@lists.linux.dev Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Sui, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc4 next-20230329] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sui-Jingfeng/drm-etnaviv-add-a-dedicate-function-to-register-irq-handler-for-the-gpu/20230330-045519 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230329205129.1513734-6-15330273260%40189.cn patch subject: [PATCH v3 5/6] drm/etnaviv: expand driver support for the pci devices config: arc-randconfig-r043-20230329 (https://download.01.org/0day-ci/archive/20230330/202303300759.E9lbKNTQ-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 12.1.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 # https://github.com/intel-lab-lkp/linux/commit/cfc3554b9fbd8ca3f3f6731d45d811bfa7fdf777 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Sui-Jingfeng/drm-etnaviv-add-a-dedicate-function-to-register-irq-handler-for-the-gpu/20230330-045519 git checkout cfc3554b9fbd8ca3f3f6731d45d811bfa7fdf777 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/gpu/drm/etnaviv/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303300759.E9lbKNTQ-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/etnaviv/etnaviv_pci_drv.c: In function 'etnaviv_gpu_pci_fini': >> drivers/gpu/drm/etnaviv/etnaviv_pci_drv.c:32:9: error: implicit declaration of function 'pci_clear_master'; did you mean 'pci_set_master'? [-Werror=implicit-function-declaration] 32 | pci_clear_master(pdev); | ^~~~~~~~~~~~~~~~ | pci_set_master cc1: some warnings being treated as errors vim +32 drivers/gpu/drm/etnaviv/etnaviv_pci_drv.c 27 28 static void etnaviv_gpu_pci_fini(struct etnaviv_gpu *gpu, bool component) 29 { 30 struct pci_dev *pdev = to_pci_dev(gpu->dev); 31 > 32 pci_clear_master(pdev); 33 34 dev_dbg(gpu->dev, "component is %s\n", 35 component ? "enabled" : "disabled"); 36 } 37 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests