Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2424580rdb; Mon, 12 Feb 2024 04:42:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV89+khe2jB9UTpQ5SaZXZEESUZ2sA+GMLqkXGkzO5Gh/Kcna9RwdpG9yiR/mRYn0ViyWx3fVH494AgJYyL0rnFA8nZMGw8NRZcwlem7A== X-Google-Smtp-Source: AGHT+IH03fNr3Y9208//WCYX19dDTyKEE4A7Fg/EbqU+IMxwsLK80f8tWL/Qmb5TEgmbZzzvt5M+ X-Received: by 2002:a05:6214:230f:b0:68c:4ab9:4620 with SMTP id gc15-20020a056214230f00b0068c4ab94620mr9944515qvb.42.1707741741697; Mon, 12 Feb 2024 04:42:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707741741; cv=pass; d=google.com; s=arc-20160816; b=o+P7ds3X1kvM1lr2zclXvQyrus+EGiVvWg6139HH01lZjQhrEoba69Zj75mD6SUyCh 3KhFlQwAPLa8TRGcQdEEMaM6C7zes/wRg6OUHc6DtakOBvyhQKwgd8gKxdgUqKgAl+XN TIF3thTU6yGnHSLDYnqiw6H+QeGbe7ad5iSCa4nuvq3q7/FAbtbosQeQV4beHEFd5RIF mlxE4E4rDZBBVLklr2UuoMW8BVJ2QaS6FcLnBO9rdqsTcZn1hCMstQjtd0J9kdRcDsOc IfPjLNzDZXiCVB9OicuBVKABC7ae1LMOn1RtEQZPu50iEcNbpgbugm+Y/cmm+7acB75i BumA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4V2ZvGYvs2f/kmspwfMx+6LTdWGHaixjKs5rN02Nrx4=; fh=FG9ZFtmR/tyDUAAIwcYs1Yfv6T/au1jOnTJuODavgm0=; b=b7JkogIqyxxV8A50kBrLlRJv0QXZoYvC0KrYhPfloc4X4cl8qAuOyqDp6vD19K1OjL bN9u6GE0VmEp9oPCdtkG/3ee3aGMAyiHwRrnJ1sgrH8cjToiOHpWbhZtfxGbJxR5yNOm rJPJc6ossFmuCmcZ/NzEK3qrX0uyyar9b6bgBArT3yFbjoS0WRHTz0d2Lcxar9rj7Fmm aDunUeeo8oobRkKiPTQPfdtQPeC8fl9L06G+ynjcSDw1Zzv1lPuhST7l2U2aN1melfnI A0hKj++mV6qTmLbOJasgN1x4lsem0n25EwiOMf1dVzcvYnLQaTm6vc6VAmznbSgnGeXy MlHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OhAr2a1z; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-61563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCUjRKyBBlbUi+CuEIbm+9b94A4eIhhNNloflfOJs4VH1A9RnnbwJuIV9eJYsuvBgpQx4sd8Rvh/mw0qfTJUlFXTQahOAQLgy7NuVRzYag== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id js11-20020a0562142aab00b0068ccdb86eb6si285346qvb.4.2024.02.12.04.42.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 04:42:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OhAr2a1z; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-61563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 677AC1C21748 for ; Mon, 12 Feb 2024 12:42:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27EF839FF3; Mon, 12 Feb 2024 12:42:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OhAr2a1z" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 2A9E23611B for ; Mon, 12 Feb 2024 12:42:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707741733; cv=none; b=G6HoIp9GexXfQKnuecajkauWvw9mPAVfDGrJn/rvnNHAF30z5NpCNiZJcsFy693Uw4Oxaoudblyzxa5XRYmJh0Bo7T97M+9hx0YLn1ktGXhPTZotwoEJDuJ7p0Mftqi0b0TEb1TkXYnaQ/fJwWVNSqHqrX5jMgRqB/Y6tQ1+7xs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707741733; c=relaxed/simple; bh=8ahY7c+eV6OLZtiYet7sguCFreXtMvOFOJFoSm+eyWA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=slYS5neo0ESyYfraZtp0z8WNJJ2uiMMuyQ8FYoqtZEbmmw7JT++yFrLXvIOneVK58JkJ3X492xmLnPNE9sjXbyygvgrOb/VNOmhq+rAchL982Xh0Q+hN9I280N4UvBQVY7YczdfOtqzoaPzITm02LalFBEFFP7Ybb/bcudzl9Pw= 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=OhAr2a1z; arc=none smtp.client-ip=198.175.65.16 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707741732; x=1739277732; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8ahY7c+eV6OLZtiYet7sguCFreXtMvOFOJFoSm+eyWA=; b=OhAr2a1zudDe+srQcMEyPrqoTBqF8itN2WXhYZ2j8dlkBkcmppr2a8nu bx0uWEwVGRbSSFWxyZKbB9B02r5nf+SGxxceVJx3wqUB6vCOMgA7pzqMA ZCG/hgGfXSr6m76S0bdhQ95TA+dnjmtOhe+zZAM3GsTtIUpQJ9XtgAZ8m Ipf1/XuktPhwjVtsxi+7sOfgMDlfujw6FiO8O6qjKlswh9KBChhumLX73 nsi3rujMHK/XjA4FHr7UP56OlOupciyUI3OmpiUIVu0o+HTZmpmGd+XLa hNJoYIOqH6YmsPkqc/is8sZBJprKvE7OnVQGT5nyis1MMXMjiuJIzzU/x Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10981"; a="1868509" X-IronPort-AV: E=Sophos;i="6.06,263,1705392000"; d="scan'208";a="1868509" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 04:42:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,263,1705392000"; d="scan'208";a="7209497" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 12 Feb 2024 04:42:09 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rZVdO-000780-2d; Mon, 12 Feb 2024 12:42:06 +0000 Date: Mon, 12 Feb 2024 20:41:15 +0800 From: kernel test robot To: Max Kellermann , linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Max Kellermann Subject: Re: [PATCH v4 02/35] include: remove unnecessary #include directives Message-ID: <202402122015.7dytzCz3-lkp@intel.com> References: <20240211231518.349442-3-max.kellermann@ionos.com> 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: <20240211231518.349442-3-max.kellermann@ionos.com> Hi Max, kernel test robot noticed the following build errors: [auto build test ERROR on next-20240209] [cannot apply to drm-misc/drm-misc-next media-tree/master mkp-scsi/for-next linus/master v6.8-rc4 v6.8-rc3 v6.8-rc2 v6.8-rc4] [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/Max-Kellermann/include-add-missing-includes/20240212-072756 base: next-20240209 patch link: https://lore.kernel.org/r/20240211231518.349442-3-max.kellermann%40ionos.com patch subject: [PATCH v4 02/35] include: remove unnecessary #include directives config: arm-randconfig-004-20240212 (https://download.01.org/0day-ci/archive/20240212/202402122015.7dytzCz3-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project c08b90c50bcac9f3f563c79491c8dbcbe7c3b574) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240212/202402122015.7dytzCz3-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/202402122015.7dytzCz3-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/drm_modeset_lock.c:87:6: error: call to undeclared function 'stack_trace_save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | n = stack_trace_save(entries, ARRAY_SIZE(entries), 1); | ^ drivers/gpu/drm/drm_modeset_lock.c:87:6: note: did you mean 'stack_depot_save'? include/linux/stackdepot.h:132:22: note: 'stack_depot_save' declared here 132 | depot_stack_handle_t stack_depot_save(unsigned long *entries, | ^ >> drivers/gpu/drm/drm_modeset_lock.c:104:2: error: call to undeclared function 'stack_trace_snprint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | stack_trace_snprint(buf, PAGE_SIZE, entries, nr_entries, 2); | ^ drivers/gpu/drm/drm_modeset_lock.c:104:2: note: did you mean 'stack_depot_snprint'? include/linux/stackdepot.h:163:5: note: 'stack_depot_snprint' declared here 163 | int stack_depot_snprint(depot_stack_handle_t handle, char *buf, size_t size, | ^ 2 errors generated. vim +/stack_trace_save +87 drivers/gpu/drm/drm_modeset_lock.c 35cf03508d8466 Rob Clark 2016-11-14 80 cd06ab2fd48f2c Jani Nikula 2021-10-01 81 #if IS_ENABLED(CONFIG_DRM_DEBUG_MODESET_LOCK) bcae3af286f49b Stephen Rothwell 2021-10-18 82 static noinline depot_stack_handle_t __drm_stack_depot_save(void) cd06ab2fd48f2c Jani Nikula 2021-10-01 83 { cd06ab2fd48f2c Jani Nikula 2021-10-01 84 unsigned long entries[8]; cd06ab2fd48f2c Jani Nikula 2021-10-01 85 unsigned int n; cd06ab2fd48f2c Jani Nikula 2021-10-01 86 cd06ab2fd48f2c Jani Nikula 2021-10-01 @87 n = stack_trace_save(entries, ARRAY_SIZE(entries), 1); cd06ab2fd48f2c Jani Nikula 2021-10-01 88 cd06ab2fd48f2c Jani Nikula 2021-10-01 89 return stack_depot_save(entries, n, GFP_NOWAIT | __GFP_NOWARN); cd06ab2fd48f2c Jani Nikula 2021-10-01 90 } cd06ab2fd48f2c Jani Nikula 2021-10-01 91 bcae3af286f49b Stephen Rothwell 2021-10-18 92 static void __drm_stack_depot_print(depot_stack_handle_t stack_depot) cd06ab2fd48f2c Jani Nikula 2021-10-01 93 { cd06ab2fd48f2c Jani Nikula 2021-10-01 94 struct drm_printer p = drm_debug_printer("drm_modeset_lock"); cd06ab2fd48f2c Jani Nikula 2021-10-01 95 unsigned long *entries; cd06ab2fd48f2c Jani Nikula 2021-10-01 96 unsigned int nr_entries; cd06ab2fd48f2c Jani Nikula 2021-10-01 97 char *buf; cd06ab2fd48f2c Jani Nikula 2021-10-01 98 cd06ab2fd48f2c Jani Nikula 2021-10-01 99 buf = kmalloc(PAGE_SIZE, GFP_NOWAIT | __GFP_NOWARN); cd06ab2fd48f2c Jani Nikula 2021-10-01 100 if (!buf) cd06ab2fd48f2c Jani Nikula 2021-10-01 101 return; cd06ab2fd48f2c Jani Nikula 2021-10-01 102 cd06ab2fd48f2c Jani Nikula 2021-10-01 103 nr_entries = stack_depot_fetch(stack_depot, &entries); cd06ab2fd48f2c Jani Nikula 2021-10-01 @104 stack_trace_snprint(buf, PAGE_SIZE, entries, nr_entries, 2); cd06ab2fd48f2c Jani Nikula 2021-10-01 105 cd06ab2fd48f2c Jani Nikula 2021-10-01 106 drm_printf(&p, "attempting to lock a contended lock without backoff:\n%s", buf); cd06ab2fd48f2c Jani Nikula 2021-10-01 107 cd06ab2fd48f2c Jani Nikula 2021-10-01 108 kfree(buf); cd06ab2fd48f2c Jani Nikula 2021-10-01 109 } 2dba5eb1c73b6b Vlastimil Babka 2022-01-21 110 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki