From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 0758826B75C for ; Mon, 24 Nov 2025 23:06:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764025578; cv=none; b=EE/ez32a7H/NFGEpaym28DVbWv+pJnUizPepj9pYOkSa+6gdxEXlTfiAO8BE0hjycdGN3N7IdQKVeY9sSZGLtP3Hgz4p6Ge9xrtID3Gyf3czsvaSoA6sjnhF5ulufxUasTrxeeLFC0lxlxveNvgOaYKjnRgpQZnFp7o1DxFbi1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764025578; c=relaxed/simple; bh=fa+tarMwHYdJ+ip9MwBAksQyy1bYqbAGdlieikxMmcA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qPE8GuJXkfas4mqzVDKB1ZIgoqvSnbPoddj3X/wdVh7jvg2z8Ba6szKUDNtkwMePS5MpjSy0ZoBgvr7DIzYA+LM8oaJwZyOfzvl8B8LfDKXMMYrNIZJyRq64mETexV9Yco8p3GkihnyXbLiuc5uVsDJJLGm8VUs+NIJ3SAhFxY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=JME246HG; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JME246HG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764025577; x=1795561577; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fa+tarMwHYdJ+ip9MwBAksQyy1bYqbAGdlieikxMmcA=; b=JME246HGRt3pbndRjovfgecQxWW+h+hSklwPtRw22glfyvbGnqQb1iq2 y25yj/9RcmUx1/2dlQ+3JRdTve2FAiz7pipiK5pOu2oqOZEKPmvcM7N8N qi+Oj4gyCejbjkmQxvGnIwh5QH0LTDeU0usyXjLPhDxMwT4vUc3GEXG18 Llrc4IUic3Yj0N+dGFvwMMcikkCeIbCAtlm668U8i86OfxEJySA9KbZu1 nPLnCnTAwfFzbjCPkxPTgMC/1VweBiEnrCWLtNFRbmLNgrsU/HSMsjdR/ 70uGJMUjRdA5lnGrk8luTnKcNX37mkb11HdsBwiaGd3iZfqs9lpmbDXtn w==; X-CSE-ConnectionGUID: k23ZkfpwRjCTfmjIFEZO2w== X-CSE-MsgGUID: dQxq0fQdQ8KjQhpqkmD4pQ== X-IronPort-AV: E=McAfee;i="6800,10657,11623"; a="77511587" X-IronPort-AV: E=Sophos;i="6.20,224,1758610800"; d="scan'208";a="77511587" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2025 15:06:11 -0800 X-CSE-ConnectionGUID: spGY5agqSma9qr3u/MScsA== X-CSE-MsgGUID: ZUc8uVF8T3Sxn0vGgcPeuw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,224,1758610800"; d="scan'208";a="191727436" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa010.jf.intel.com with ESMTP; 24 Nov 2025 15:06:08 -0800 Received: by black.igk.intel.com (Postfix, from userid 1003) id 3DD0C9F; Tue, 25 Nov 2025 00:06:08 +0100 (CET) From: Andy Shevchenko To: Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Andrew Morton Subject: [PATCH v1 1/1] calibrate: Update header inclusion Date: Tue, 25 Nov 2025 00:06:06 +0100 Message-ID: <20251124230607.1445421-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit While cleaning up some headers, I got a build error on this file: init/calibrate.c:20:9: error: call to undeclared function 'kstrtoul'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- init/calibrate.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/init/calibrate.c b/init/calibrate.c index 09c2e6102110..63be4c65bc52 100644 --- a/init/calibrate.c +++ b/init/calibrate.c @@ -5,12 +5,15 @@ * Copyright (C) 1991, 1992 Linus Torvalds */ -#include #include #include -#include -#include +#include +#include #include +#include +#include +#include +#include unsigned long lpj_fine; unsigned long preset_lpj; -- 2.50.1