From nobody Tue Oct 7 16:33:53 2025 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (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 70B1A217722; Tue, 8 Jul 2025 13:36:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751981815; cv=none; b=SBznZS4JVFoZQG3NpTpYrTgZSdXHNwKCwyW3WBb47oQc2f0bY1DoyYy4AD37J5PAJyCk3qb9lgPNqEJOtxGzNBaKrohS+0gp2BDTeMcMetI1U51ful1REmACgK1DnM4dD6XCtjcTvY/Oc+kSVO5vE0ByCbWN6c2Uzr5vxjBNP+U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751981815; c=relaxed/simple; bh=50UZDKGimleLKJFh2vUS3FzJCx9uIonSknEzUu1iAFI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Fi5JQ7+yXAxKLlzzxcW0evdzZgRpuda0Umg5ATMA+a6xU246ey2jiin1cOsIpvJuC179cQGLwAsfVyxWjc8gXqyxQVaELjuYk1foZrpjcKe5CtIY020ZNBWIxaG9HIly7T3LpjLUgFkykOo+h42/GCstTOVV/M0aeOwRN0noB7s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=jnDN/PoR; arc=none smtp.client-ip=198.175.65.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none 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="jnDN/PoR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751981814; x=1783517814; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=50UZDKGimleLKJFh2vUS3FzJCx9uIonSknEzUu1iAFI=; b=jnDN/PoRiuKra9KZTGfagcW/dUiBYNJlKql6dL2VHbFoEr0sjnKfnc49 8bj/vWFMj3/tnnMuPdzJNzD32wpGU+bNmjdzp5Cg4HC/kTEvJl/x8AfSE RL8ORiBlt9duqioaIgVP80aTRCHO44ZIgDZFdxOGgATI6goS8mg/fdrqj 90ns2lN27VXBJ2ARmElgxuISI5cmu6AaG2Nxid7v2+7g9hCihf2KqwnbF oDx9WL99wD5lLVc7wM7JajmQCDSxFdGlhhXEXMBsWeBKNmQVDCKYn5jbS DU65tVQnbsX13uuqwtqQdQJQm1YgfqIacyH+QqlTB0qjpeDxnp9i/2ADd Q==; X-CSE-ConnectionGUID: ygWAFElsRZiYIkxVKhQySg== X-CSE-MsgGUID: 02bkXVO4T3+qh4+mZ2DxiQ== X-IronPort-AV: E=McAfee;i="6800,10657,11487"; a="54192428" X-IronPort-AV: E=Sophos;i="6.16,297,1744095600"; d="scan'208";a="54192428" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2025 06:36:53 -0700 X-CSE-ConnectionGUID: /zdv3SMFTU6UT00hVMNIbw== X-CSE-MsgGUID: iVlmu7L9QHq3qUFZT7nnSQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,297,1744095600"; d="scan'208";a="186518368" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa002.jf.intel.com with ESMTP; 08 Jul 2025 06:36:50 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 93A951DF; Tue, 08 Jul 2025 16:36:49 +0300 (EEST) From: Andy Shevchenko To: Guenter Roeck , James Hilliard , Wolfram Sang , Andy Shevchenko , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Wim Van Sebroeck Subject: [PATCH v3 1/2] watchdog: it87_wdt: Don't use "proxy" headers Date: Tue, 8 Jul 2025 16:33:43 +0300 Message-ID: <20250708133646.70384-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250708133646.70384-1-andriy.shevchenko@linux.intel.com> References: <20250708133646.70384-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update header inclusions to follow IWYU (Include What You Use) principle. Note that kernel.h is discouraged to be included as it's written at the top of that file. Signed-off-by: Andy Shevchenko Reviewed-by: Guenter Roeck --- drivers/watchdog/it87_wdt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c index a1e23dce8810..3b8488c86a2f 100644 --- a/drivers/watchdog/it87_wdt.c +++ b/drivers/watchdog/it87_wdt.c @@ -22,11 +22,13 @@ =20 #include #include +#include #include #include -#include +#include #include #include +#include #include #include =20 --=20 2.47.2 From nobody Tue Oct 7 16:33:53 2025 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 BD9032DCF78; Tue, 8 Jul 2025 13:36:58 +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=1751981820; cv=none; b=p5q/7Ofc9+psUnWPmNhp3rhMKoa6qLYDktCc3j9nu0kKe4cBiXFEeLcSbxakJYVx0V5IzfdaK+5kzOspnXiDWzpIoYawqQUVDjLC9dQ5vbN9rVqSi1wvzaoEhWZ1eUJLAwk6oI8wJOEYhIXAYfuiy/TNBD/eZGlq/3wRkFCxybg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751981820; c=relaxed/simple; bh=emU0e9TLtejOoRZzf0+eKJu/SfyRyiWD4cDimXd+CS8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EN3Vy52nAQeB3HSc4KfK9v1TvivzCENgMZKhJ9dUMvIYtnX0a0v6BnrJNX/Rnzv5fTgZCT9Lz8PJe4o9RrAuM49nEWSyEEMAyqk0a8g72g/+e03UOzSD5mPGI5sXh4WHZUBLwWo7DV2OX98us0yH6GI/4cuCtkZkCMmhyAx5ciM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hUp0dder; 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=none 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="hUp0dder" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751981819; x=1783517819; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=emU0e9TLtejOoRZzf0+eKJu/SfyRyiWD4cDimXd+CS8=; b=hUp0dderPgKIovtGt2T8dMBXzwkF2TaecUf1uED6eXxnFQAlZjhVgUKj obEgEVKWFpxpgB/OhlN90mFGW75vg3Te6MMEEA7mG5pENjv5yxdmQ+2pG b/Bfo4E6Rio+4P6Wrv9UNxemfWfnyIW5Dt8F6WQfYJRb+bTorxTtnbF2C Z6FEIF64McuinCcRt26xEZ5SMQ5Ide6ve5cRytMkmSH/kNxoLpLoEWndk FwSO5aSbAiHmC1So3MmW6H2BymrX9FmAj/s79SLAz/P8khOBHaXUXOg7W JU6MDAWT5llj0b4edKCM8x6xzmcUiWJvcL7xXFEcq7GnV7WHIkS/rnSTX Q==; X-CSE-ConnectionGUID: Uwm0U8RXT0+eHBJcJpjoBQ== X-CSE-MsgGUID: UJU3XrI1QJSuEnGjya5DRg== X-IronPort-AV: E=McAfee;i="6800,10657,11487"; a="65678027" X-IronPort-AV: E=Sophos;i="6.16,297,1744095600"; d="scan'208";a="65678027" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2025 06:36:53 -0700 X-CSE-ConnectionGUID: jaXyz3m4SJqv9BBP0SDnIg== X-CSE-MsgGUID: iJp2/zGQQf6cEGjUV2twOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,297,1744095600"; d="scan'208";a="154909700" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa006.jf.intel.com with ESMTP; 08 Jul 2025 06:36:52 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 256B95CF; Tue, 08 Jul 2025 16:36:50 +0300 (EEST) From: Andy Shevchenko To: Guenter Roeck , James Hilliard , Wolfram Sang , Andy Shevchenko , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Wim Van Sebroeck Subject: [PATCH v3 2/2] watchdog: Don't use "proxy" headers Date: Tue, 8 Jul 2025 16:33:44 +0300 Message-ID: <20250708133646.70384-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250708133646.70384-1-andriy.shevchenko@linux.intel.com> References: <20250708133646.70384-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update header inclusions to follow IWYU (Include What You Use) principle. Note that kernel.h is discouraged to be included as it's written at the top of that file. Signed-off-by: Andy Shevchenko Reviewed-by: Guenter Roeck --- drivers/watchdog/watchdog_core.h | 8 +++++++- drivers/watchdog/watchdog_pretimeout.c | 2 ++ include/linux/watchdog.h | 12 ++++++++---- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/watchdog_core.h b/drivers/watchdog/watchdog_c= ore.h index 5b35a8439e26..ab825d9f9248 100644 --- a/drivers/watchdog/watchdog_core.h +++ b/drivers/watchdog/watchdog_core.h @@ -24,8 +24,14 @@ * This material is provided "AS-IS" and at no charge. */ =20 -#include +#include +#include +#include +#include #include +#include +#include +#include =20 #define MAX_DOGS 32 /* Maximum number of watchdog devices */ =20 diff --git a/drivers/watchdog/watchdog_pretimeout.c b/drivers/watchdog/watc= hdog_pretimeout.c index e5295c990fa1..2526436dc74d 100644 --- a/drivers/watchdog/watchdog_pretimeout.c +++ b/drivers/watchdog/watchdog_pretimeout.c @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include =20 #include "watchdog_core.h" diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h index 99660197a36c..8c60687a3e55 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h @@ -9,14 +9,18 @@ #ifndef _LINUX_WATCHDOG_H #define _LINUX_WATCHDOG_H =20 - #include -#include -#include -#include +#include #include +#include +#include + #include =20 +struct attribute_group; +struct device; +struct module; + struct watchdog_ops; struct watchdog_device; struct watchdog_core_data; --=20 2.47.2