From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8511E13B5AE; Sat, 28 Jun 2025 14:40:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751121636; cv=none; b=nNTfdTckHbKvtv3TNWco0LxZq9KMkw7FN+UMt0PDbiUqpBfY5PO+ufz9s8kCMh0KNTc9l6DTlaK6iul30vYbF4QP5NUn3PuAF2rto5vsRqRXI0zTREuKXZAK90ZHDGHY8fdEZlkl5sKkjDGvLsgDr0/jqQ3bYBS9I1yPoySFnW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751121636; c=relaxed/simple; bh=/Lu5LTfcFXkeWsxjRBcxgn1uQUXHqbZ5PSxmsunseSs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uwqN47StjIfBSF+e2ERv2t2PZiECXQG6U8hkYHH9OKYF1+RPkpTEeZYdfer1jCb2wzZPnSSiFe+rF2h8hiMWhuyGVF1+B+5VtLBrzKmFL50F+A1YzmJH5UDB6SZ/EQY/nsRooLCq9ItdyPs8UJV93NVBlSyRdwLjfOhDyCe9+2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=TKRFoCeg; arc=none smtp.client-ip=198.175.65.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="TKRFoCeg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751121634; x=1782657634; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=/Lu5LTfcFXkeWsxjRBcxgn1uQUXHqbZ5PSxmsunseSs=; b=TKRFoCegmOh+79B6+vQN6v4iyFmAW5BBTi1VDqP/EYftz+mn/HaLdjMk 3Esc8/I4Ar1fsGUeRvvqA4l8a2f7DCLLlbYGP9UGi/CEge8bw5J+nfT2f XlTI1pP/pM1gCO3BI2BHt5hiOkhQnhPsRZca8Hbx3O4XYTZguHx5Rqwel uxQb7EYwspdcH5dsij2JzqlNk0GanNNqJwXJ9rhd2rVjW/KDgka2wDgOJ iL3YjgoxypzCmdT1+WCmchxGQ5mfV5NtepocoYGos0bbp7/U5IW588KnP GCEnTYRxGMbEkIjpXPYxNul4ZXGKpqysME/ds26GMXD4S9GzZQdrDaUb7 A==; X-CSE-ConnectionGUID: /bSVtjH4RBuNoy6xSo3AzA== X-CSE-MsgGUID: 557hxzOlTFSu4klzasNL9A== X-IronPort-AV: E=McAfee;i="6800,10657,11478"; a="57189741" X-IronPort-AV: E=Sophos;i="6.16,273,1744095600"; d="scan'208";a="57189741" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2025 07:40:32 -0700 X-CSE-ConnectionGUID: j1rXOS1xRES1LHHDv8h1yw== X-CSE-MsgGUID: bzHqMp1BQXeH9Myq/cxsjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,273,1744095600"; d="scan'208";a="176727413" Received: from lkp-server01.sh.intel.com (HELO e8142ee1dce2) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 28 Jun 2025 07:40:27 -0700 Received: from kbuild by e8142ee1dce2 with local (Exim 4.96) (envelope-from ) id 1uVWjB-000X7V-05; Sat, 28 Jun 2025 14:40:25 +0000 Date: Sat, 28 Jun 2025 22:39:55 +0800 From: kernel test robot To: Mario Limonciello , Bjorn Helgaas Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , David Airlie , Simona Vetter , Lukas Wunner , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Woodhouse , Lu Baolu , Joerg Roedel , Will Deacon , Robin Murphy , Alex Williamson , Jaroslav Kysela , Takashi Iwai , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "(open list:INTEL IOMMU (VT-d))" , linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-sound@vger.kernel.org, Daniel Dadap , Mario Limonciello Subject: Re: [PATCH v6 9/9] PCI: Add a new 'boot_display' attribute Message-ID: <202506282240.aqA0j5M3-lkp@intel.com> References: <20250627043108.3141206-10-superm1@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250627043108.3141206-10-superm1@kernel.org> Hi Mario, kernel test robot noticed the following build warnings: [auto build test WARNING on pci/next] [also build test WARNING on pci/for-linus tiwai-sound/for-next tiwai-sound/for-linus tip/x86/core linus/master v6.16-rc3 next-20250627] [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/Mario-Limonciello/PCI-Add-helper-for-checking-if-a-PCI-device-is-a-display-controller/20250627-123349 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20250627043108.3141206-10-superm1%40kernel.org patch subject: [PATCH v6 9/9] PCI: Add a new 'boot_display' attribute config: powerpc-bluestone_defconfig (https://download.01.org/0day-ci/archive/20250628/202506282240.aqA0j5M3-lkp@intel.com/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e04c938cc08a90ae60440ce22d072ebc69d67ee8) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250628/202506282240.aqA0j5M3-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/202506282240.aqA0j5M3-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/pci/pci-sysfs.c:688:8: warning: unused variable 'dev_attr_boot_display' [-Wunused-variable] 688 | static DEVICE_ATTR_RO(boot_display); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/device.h:199:26: note: expanded from macro 'DEVICE_ATTR_RO' 199 | struct device_attribute dev_attr_##_name = __ATTR_RO(_name) | ^~~~~~~~~~~~~~~~ :54:1: note: expanded from here 54 | dev_attr_boot_display | ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. vim +/dev_attr_boot_display +688 drivers/pci/pci-sysfs.c 682 683 static ssize_t boot_display_show(struct device *dev, struct device_attribute *attr, 684 char *buf) 685 { 686 return sysfs_emit(buf, "1\n"); 687 } > 688 static DEVICE_ATTR_RO(boot_display); 689 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki