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 6EFC4C54E49 for ; Sun, 3 Mar 2024 17:48:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 985956B0095; Sun, 3 Mar 2024 12:48:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 935C06B009C; Sun, 3 Mar 2024 12:48:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7AFCA6B009D; Sun, 3 Mar 2024 12:48:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 675926B0095 for ; Sun, 3 Mar 2024 12:48:02 -0500 (EST) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 38D05120162 for ; Sun, 3 Mar 2024 17:48:02 +0000 (UTC) X-FDA: 81856461204.11.EC3523D Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by imf23.hostedemail.com (Postfix) with ESMTP id 67EDD140005 for ; Sun, 3 Mar 2024 17:48:00 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=hrKBdUQJ; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 198.175.65.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1709488080; 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=ahDwwnkN9HhBJt54H3fiDuEM6I/quYa9qx/375ImTos=; b=yEk1HtrEacBhObA8EnR0YU3v5RlYlGrs8pxFPZGWmNaJsCMWdPNrHqTWeMu84aLNqRrFku B9/hFTs7Q8PSqU83ln5RfJHo9Ri4CvpPraW6wPS/Y+g0+d3yiVyde3HdpW79ZIJzIz8+vp fz0tzqKG0OmEEZVvo4R1YUhQnGdm7JY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709488080; a=rsa-sha256; cv=none; b=JmoQf+erIU5hI4eC2po5UepricIZaviXMcuPtCerJkyW/Awoh/1JVCHgOa5l3k5bbF3CS6 WCdFU2uxSF0GBosL9G027yrJQO79j5aCBUArSxoOU95Me0wKtC9cBfvX98ygFA384hhgJ4 16aBDLD8LLMmIfUIQk6AqW7JasR1mh4= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=hrKBdUQJ; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 198.175.65.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709488080; x=1741024080; h=date:from:to:cc:subject:message-id:mime-version; bh=OiW8viBgyZlAs6LQRlt3Pdwe9dErtAADvRARLmqDSjg=; b=hrKBdUQJhPQdgib7+rdLqlyf2Vb93oG+eyOM0AuX2YqLsUW1MG4DlwXD EpFD6EzQFkUPQh1CrZb43rwxJ780Mka7SA2CE7sqUE/5HP/bmgMhsME/E yvpGB+2uisSnvfF1y/iTRzoABbNOqEHT/iyu6Zk1icI4VQQuP84JxNJ0E RVzbPHitK3bJyEdv2JFcdJklTz5CVqCBd33LTY49XCmtbIiI/qDb4TT70 PNDki7fxwY6NSMuhbQmF3TasB/G53pozxzBIwgB3pvp+4SHzUqEPpHW0N 7Lk++ZFehlVZzQ3s7pxswD2BOWvtk5BHFfPms8rkS8spoasjyY6t0H8Yb w==; X-IronPort-AV: E=McAfee;i="6600,9927,11002"; a="7786140" X-IronPort-AV: E=Sophos;i="6.06,201,1705392000"; d="scan'208";a="7786140" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2024 09:47:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,201,1705392000"; d="scan'208";a="8892405" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa008.fm.intel.com with ESMTP; 03 Mar 2024 09:47:57 -0800 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rgpwI-0001zc-2T; Sun, 03 Mar 2024 17:47:54 +0000 Date: Mon, 4 Mar 2024 01:47:13 +0800 From: kernel test robot To: Rodrigo Vivi Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Matthew Auld Subject: [linux-next:master 9800/11394] drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:574:33: error: unused function 'pdev_to_xe_device' Message-ID: <202403040112.jDE7nwFC-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 67EDD140005 X-Rspam-User: X-Stat-Signature: m39da3rh7y4dqgjpuft5o1o7t6kjnemu X-Rspamd-Server: rspam03 X-HE-Tag: 1709488080-691773 X-HE-Meta: U2FsdGVkX18XH71F15AHexaoW6TpTslqoUjVd95V+Xg4dhpP/FOABebyZiXLY9eSHfAf9Sg7S5khcrkhBLKcLJR4vom6OmiQCl3039T4TW/Q9w7lIi5VnaW/gQqmp8WHjMh5JhhAExBYZ34wjx95DHVH3zBWj0diw1tg52EJ8cNjj2QmHGEaOo1azASMxZizKWjddgviDbzrl+yCNeai4mqZw2qxweTxSeFbbQCFrSKcUKjtvAmHzY9yuqYu0oxmjitGghl46kq0XRtcLWWVtb6T2R9VyM/pVlbjER9EaO7LuSu8ybIY9heijtVFzIaC1WI4SAYXjl7XJKKzfcYi/w5qkUzgBHoztRveMZHVwOpe8qFT6hubrEUhSykKfHuv8x94+tTMkInnvMrz0xOjS1VEkL1cB+7PQwSUE/cWy1OxFjyt3h3xsNEhUmvDeRuKcWoHCYSomKUOc7f1D7/W66/ShuNiFEsj7coPNpIAkgcOB6Bi6qWs+FhRW08CdZvVbTFUEzclhlSc2iOIoFKNECJcdOoWv0iYMk2013ReunteAgCXpO75vCm7gPy8hTdE6AngioHsG+NOoGrm52DBaO6yUdtUa6HXvJ7bOQpCXyZaY+qD334HjgR7OL++92DfodrRrZfMy397KB1nO75TmalArLzDxAtplAByKwNGa7eZHp0Y/00OGK/DyAR96mEhVWLWymxS66+kng933a7AAo8ssmD03T0NpfGENZVPSlUBoBOIYBdSw4qr5ia693p0Y6bZp4umx9N88PphvqX1jbgwrNDBXnqbIqgLZ5Y/6ghdHHi98KCM7F+Zfd8AsExz56B+In3jgg/q1kYaV/xiKyelE0vgJQpvcKKH5ZbqBi185VJY3EOGxplOSqWivvxl 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: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 1870cdc0e8dee32e3c221704a2977898ba4c10e8 commit: 3f0e14651ab0ca340c4b6f77b2ea615605fcf8f8 [9800/11394] drm/xe: Runtime PM wake on every sysfs call config: x86_64-randconfig-076-20240303 (https://download.01.org/0day-ci/archive/20240304/202403040112.jDE7nwFC-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240304/202403040112.jDE7nwFC-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202403040112.jDE7nwFC-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:574:33: error: unused function 'pdev_to_xe_device' [-Werror,-Wunused-function] 574 | static inline struct xe_device *pdev_to_xe_device(struct pci_dev *pdev) | ^~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:579:33: error: unused function 'to_xe_device' [-Werror,-Wunused-function] 579 | static inline struct xe_device *to_xe_device(const struct drm_device *dev) | ^~~~~~~~~~~~ 2 errors generated. vim +/pdev_to_xe_device +574 drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c 573 > 574 static inline struct xe_device *pdev_to_xe_device(struct pci_dev *pdev) 575 { 576 return pci_get_drvdata(pdev); 577 } 578 > 579 static inline struct xe_device *to_xe_device(const struct drm_device *dev) 580 { 581 return container_of(dev, struct xe_device, drm); 582 } 583 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki