From nobody Fri Sep 25 13:54:13 2026 Received: from mail-wr2-f12.google.com (mail-wr2-f12.google.com [74.125.225.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFF79366057 for ; Fri, 11 Sep 2026 15:05:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.76 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139113; cv=none; b=mwX1X+NJrfc7MfJx0CzRo9DXW3CIZV7Lz/+Ag2/qvCr8AIWRK/e1zvmhdi9EEiBN9dGPCnTDGzQKmhQ1xI4QEKcUbV/dSK7erk0rve8ruU0lOUB6RU7GbPVL4NXEL4Rag92CBeAAAZ9qqPt5yiju9uMaBvuIbOaGAu4dkzzmcuQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139113; c=relaxed/simple; bh=6/BdbYqdcZY9dIig5OcHM3ZIkVv9X9lZQVPrP0wQUIk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HwZmRaa4tLAwRXwUDTyDpzCEADza00BDRceRnPgwSBkIsObA2PFWb24Dc2PPFFil5s+tbfSK7vV6Bm7k+F4O1e/uH/8AvVPyqh1ITovEjD17Hqer7H8nfIQa0nnqc4P6uiYvCOwu/vb9g1Y67I7FB1HWaBD6VKNEuvN+33ntVkI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=E3yKSxif; arc=none smtp.client-ip=74.125.225.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="E3yKSxif" Received: by mail-wr2-f12.google.com with SMTP id ffacd0b85a97d-4843cedd129so637846f8f.0 for ; Fri, 11 Sep 2026 08:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789139109; x=1789743909; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=KmDwdyq9Q0uxbSq8SDMOz/Ug4vndqaUQy+VL3xEV3E0=; b=E3yKSxifi0pvQfRdRgC/conJLhso6/AJHcMTItLsGdSMskSELM5uK2fYz9e6exQVKf MWft8Xeo02GFKwFF1J20S9wMB7aoIfSvbf2fLR2xFMx+SWAgWo6uiymrZLkNaSKHGQG7 r15l414Bow79sjZNDiDrUjENxonicH3bQf7ox83uGmtNt7FijjI3UsyCX0bGe+Z+quEU Xmp3SGFCgwatniq/9zav6LmQq+OUiGsl7Vsc88cEUAM27e4mZZ4Aj2BF5km1Pqy8SeGN ibSoc2lO21+eMvLhgqVmDiC3iN0b+l4XndHd/9DStRXuRxcJAqUbnM6O1Xu76+wYIHgp BovQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789139109; x=1789743909; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=KmDwdyq9Q0uxbSq8SDMOz/Ug4vndqaUQy+VL3xEV3E0=; b=TKqixHofjbTkrhNtKcoaIwFQdfzYCo3pxuVGl+GYReBzk/z+Qbg3V6hAinuYVvHWQu gFi+2kfdBV8qOi2qKC+QnIJNKev7N2fZMiPFTREI88BiZOp9Mw6K9Bg5i+mIVVUhnhke XmTe8hw4oh3pgiFAxOw9h4s3Yao2qYRtGSiG4jmUtQQHsJAzbnizMnDPKoc/DV4ibtWa ti/bUEjkNhcgZPtRC+Oz1ZRllpvB0GJi5WK7+Jwr7Sd9+12IQCieAvnCAm8OQ8+SUW3k ZKnoYtrCkDGIKRZfpdIIcRkENkIZlqBJHY0BdXbmqRcthjSJfhYJAeOjuTytcYCsIvyr Owfg== X-Forwarded-Encrypted: i=1; AKwUvBywKkHMVwAH1wQM0Iw2oB0Vau5KP/zWOkR1yX5zMKoQfTrH36Ue42uU+gEtSqAgiaTkxejJRqlTNXtdPrw=@vger.kernel.org X-Gm-Message-State: AFuF++lszwccZU3EzQQGs/p4Viohr5zi1eb+H1GQFuQSrijER/PhPo8U oXVKVPBd0ZANLIw+Fzlim6MKjHMtZlJJ2hbDbI9LoA1s1ItjF5YhbonlXVRtw8+4Kdc= X-Gm-Gg: AYBFou3jY76K2Z6ugDal4uFckJdxu2zQ9n8QaXAq3uea5919AYMmO3UzM6jbvAS0EY/ AaIVSE5ixLGL02hb7cztRh5qmtdM8ChCI7cp3Nj8OmTOlvc/r2faMjMf1c7kAWYn7nmc08Ozmms okZNCzJ3xKY1aohl9rDdaJvsUaRw2sYOsyWp57C4kYMQXqbwHhfJTwjmLaC8DBWE/q9pTLcZ2c5 lVDNRCaSyngLOcnYia/9/zt+6IPt/USk8nICIoLjPEqUeSJKt4NjBdnXnjHbOFgoouH3yQgIpIC A9W4kUIzcf4jULMb1b5kvHyZ46WjVshdXFA2/mJLbEaGku7SuhBSjTA7lDIJyRqWRaHeQV6rg8V Fm4D5tTMkMc14Z6twCijdWT8mMRlU1yWHRyvrlu2VjDo5SU0gULxktZ7IPS6r0tZJl/1Z+qzK4C jgc0Cu5mNlNEwt8GFAeFyIj3A7EsVZxgCI/57TNM2yMpv6CduSlJG28j9fsdyvOQdv7biFTEdRO ugFaw== X-Received: by 2002:a05:6000:29d8:b0:486:f4b1:8c4a with SMTP id ffacd0b85a97d-486f4b18d31mr887113f8f.10.1789139109105; Fri, 11 Sep 2026 08:05:09 -0700 (PDT) Received: from localhost.localdomain ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb350686sm6853579f8f.27.2026.09.11.08.05.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 08:05:08 -0700 (PDT) From: Petr Pavlu To: Jens Axboe , Jakub Kicinski , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jani Nikula , Rodrigo Vivi , Joonas Lahtinen , Tvrtko Ursulin , Matthew Brost , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= Cc: Simon Horman , David Airlie , Simona Vetter , Francois Dugast , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , linux-block@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] block: Include error-injection.h for ALLOW_ERROR_INJECTION() Date: Fri, 11 Sep 2026 17:04:01 +0200 Message-ID: <20260911-module-include-error_injection-v1-1-5da895d8c84d@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.com> References: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.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="utf-8" Content-Transfer-Encoding: quoted-printable block/blk-core.c uses ALLOW_ERROR_INJECTION(), which is defined in asm-generic/error-injection.h. It currently relies on this header being included indirectly through linux/module.h -> linux/error-injection.h. Add the missing include in preparation for removing the linux/error-injection.h include from linux/module.h. Signed-off-by: Petr Pavlu Reviewed-by: Jens Axboe --- block/blk-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/blk-core.c b/block/blk-core.c index 196bccf27f58..324a2d1bb727 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -40,6 +40,7 @@ #include #include #include +#include =20 #define CREATE_TRACE_POINTS #include --=20 2.55.0 From nobody Fri Sep 25 13:54:13 2026 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FE7D37204D for ; Fri, 11 Sep 2026 15:05:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139114; cv=none; b=u+/4zH7MMbCo9NtkI0mzsZa6Q7wfXVM/6uFcReVn90ICArJuxkRV7ZC0VaiycKY3q3t+CKJUgjDdHZnwmFmAMxqDJ0hZPLKLaugHmuX2mF39y18Pw0GYtNn05dkMTtPbaJ8AfQ7RJ9/tz0kStCev3TkqxTU0WYY1eLeaoiweazo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139114; c=relaxed/simple; bh=b5RQb0WbJ1RrTqB8nh+r8QKYRT6EMd81lemOzqrccCw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tfm1WXSAvlHGuVIj1AC+4s97l3mtBC6rvflYzI/5cuoD19l9KHnqp1MJepyi0nohVPTm2/zIwF9GwvrDG/SAllseshA0flweAo5gy58i6D/CCco7gIcSHVBA6OZTD4fu2vaNZVYWROHJpOVtYiqVRT1FUUX4pHUOla3T3XQ8PyE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=g2R/ghfw; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="g2R/ghfw" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-4843f205a5bso743852f8f.1 for ; Fri, 11 Sep 2026 08:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789139111; x=1789743911; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=glNc1H2atyKhB4WSC099onb1QIuZPymRMjgiGWekzpE=; b=g2R/ghfwA9c7FbD3rDBiA2JMYJ3JDnGvXzdJPZ2/N37pWyUiR5fe/jkoM+S8Xj9Osh Td7vi9tajpjbxZnzNHzkS8e+Dle9y/4gEVbukum/7r4YzBBxcJ9RitqsBzYcQQewkuuT 62U8XWflFKwu+bc9ImtwgSwK1mGCbgzHFI7iDs6ufxupSQo7ROowYWmEEkzxfPmCgujL PWtxzIs3VJMWlw1d86Ly2VK+aU/U17WO7B0v3vjjrFWp/wxGHYe78Aj0iov3FPgmgvpA cC7KRxN8jXseYdw1Bh1MCEaK5pIOdGK/enujMajEKDEL2DSR+sgdJSlG1X3pYamUW02S GAuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789139111; x=1789743911; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=glNc1H2atyKhB4WSC099onb1QIuZPymRMjgiGWekzpE=; b=C4h9PiIB+lEN1hpEhj2+ZrS89KdSUw0m31qnADL63bj8QVxWe+/YVTtDdYyfXjOpPN AS7OWCjDY6S/7Iebv9bLXNwCb3ll+vr4gsKBZZ1fukcxDAs66Lm8vH5r7st0d6+hIEui RBrRopXh8r4IR6XkvhtBByzu1SzTRAQ8kONloZHFw6pw7YVfVqyrQPW/3aI4jrq3AZRB 8fnw/GGoVe01K6UpZGntAFyNMYM/p521SHKvn5LSQfDbL5GADwMaUiBMD/VdrWVL33zS KyvaKFyQAqXhEsZeD7pxJB2jKHlh/ghrIK4S9v3umMyFzcU8EHIMbPCIuelTTTdSeb1C Mkwg== X-Forwarded-Encrypted: i=1; AKwUvBzoylTyQTGfok8rMeVf5VzaswQgqQ0HEzT0SxmWgydsIbSgnGzs4gWaBE1pwVPF31y9P1jqTghWOZAM/nU=@vger.kernel.org X-Gm-Message-State: AFuF++lJR/GLwS1nQt3DCLMInxJlYJ2ER/YryJNbTfclFyWsYDkJVoo5 rBkCGv59GADRTfZURSDmwUcU0oDs7XDiTx3WI4Clob42oQSJFCI3juVIu+nuZI2CKJQ= X-Gm-Gg: AYBFou0DjB+I26naYGhJzpygNNt6p+VejqE6VR/xTEw6NM8FSSwhq9HP5HG9/HX851w tLmVvOWLSbZpcfzNUodiWEEhNjpO0SctMbXsQf0g8+NElhkPQGoMKQ9WzyguQRDLLDBzA/0YlX5 xTQ1Ucy308bP7MJlnEJ5iLiJaTcQjlUUkQtNZUOq/2nR5lxOSb6oSuIQ4vztC6GpnKzCMrD8Ojv 4e5B1VQAQbU6p1xg9fR+RjMgjAmmUmh9kHfwEfbvAFNigWnHtaOUfTp9MlcKFQJP2qEZjTKWklG GKvrNvSVRUUOiaPj6RaonCYlSCVr/pNiZj1MA/bn1j90qPFmQiM0fQPTnRhKLL+U2CHCYRCx85s 0IC3ebPajOt81HMdtfnXhWfRWxJBWdiXu7BWKx7AN9vI449J4UOI16zdUweCb7eQzsPMCXTIA01 MgGuDSGslhRoT4ljT0sTgNhMgHOtTmoKN4O6p2VUpjr+0oALuStmC2EuHA+r7IfJgDbmk5m3V1W Nk9v4BBqwAM9uL2 X-Received: by 2002:a05:6000:1acf:b0:485:8a46:b3b8 with SMTP id ffacd0b85a97d-486eb32253bmr5503727f8f.32.1789139110499; Fri, 11 Sep 2026 08:05:10 -0700 (PDT) Received: from localhost.localdomain ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb350686sm6853579f8f.27.2026.09.11.08.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 08:05:10 -0700 (PDT) From: Petr Pavlu To: Jens Axboe , Jakub Kicinski , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jani Nikula , Rodrigo Vivi , Joonas Lahtinen , Tvrtko Ursulin , Matthew Brost , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= Cc: Simon Horman , David Airlie , Simona Vetter , Francois Dugast , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , linux-block@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/6] net: Include error-injection.h for ALLOW_ERROR_INJECTION() Date: Fri, 11 Sep 2026 17:04:02 +0200 Message-ID: <20260911-module-include-error_injection-v1-2-5da895d8c84d@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.com> References: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.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="utf-8" Content-Transfer-Encoding: quoted-printable drivers/net/netdevsim/tc.c and net/core/skb_fault_injection.c use ALLOW_ERROR_INJECTION(), which is defined in asm-generic/error-injection.h. They currently rely on this header being included indirectly through linux/module.h -> linux/error-injection.h. Add the missing include in preparation for removing the linux/error-injection.h include from linux/module.h. Signed-off-by: Petr Pavlu --- drivers/net/netdevsim/tc.c | 1 + net/core/skb_fault_injection.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/netdevsim/tc.c b/drivers/net/netdevsim/tc.c index a415e02a6df1..e2d7d3aba193 100644 --- a/drivers/net/netdevsim/tc.c +++ b/drivers/net/netdevsim/tc.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 =20 +#include #include #include #include diff --git a/net/core/skb_fault_injection.c b/net/core/skb_fault_injection.c index 4235db6bdfad..2c7f519bef80 100644 --- a/net/core/skb_fault_injection.c +++ b/net/core/skb_fault_injection.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only =20 #include +#include #include #include #include --=20 2.55.0 From nobody Fri Sep 25 13:54:13 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13AF23750BD for ; Fri, 11 Sep 2026 15:05:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139116; cv=none; b=UT/HcyFgPZ3hBmgamJW9hivKy6f/ieuyza7+Rq3b1OGraUmXSsCQ9oyp0lLN4Jh17bfRo7KRoXuyPwRACddWi+zB7ewRG9jE5oAygkuMm74NMxXGFjmhRYjvsJutr8s4cZ2EJvJbcsl3ynDZ/lu2zG9zONL3Wr0zO74/obayz8k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139116; c=relaxed/simple; bh=SulItpOpA28ukZfWYCS1+ezWXd+i3c1ust4snZvaoAY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=N4G1rkOk7E02F9HLJX+bT29P5EtqDB1HskaYZW7EgQFCyj48/VZq8tuse5u5lcgGeKJZeLDJJla/bDIf1u6mDIipL3mr7Q2cYmDrII2DhMiJjUYqK81wZUU3ntmi2SrwoVusEIALkw6aMEDGNbLgZ9/HUFIZNpzMfd1qgJ3txbo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=dpY9Vw/W; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="dpY9Vw/W" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-49b0d8bc2aaso12095485e9.0 for ; Fri, 11 Sep 2026 08:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789139112; x=1789743912; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=7/A+IkvGH5yYLsl3B/FA+2ENzgeK330huKjO7uo/XWA=; b=dpY9Vw/WbRSQ4vAmcbMbVsDNf97x3fiJTZq1V3vuarPpkrVkQMkq7Qw9A3NT1MpM+z L3pCZuHMbsVeZ07kHa79dndIHXwQOCQHY9dcRkLL7qpE1CdxelO59oqkVSOBO5Qd5eNk wxQy4TkrGLSeXDH8DQQ/XCg7NpAnbvI1BRBPTHihUJqcg8DnhFFThHW3iT/mcEpbP3DS IKx8LonNMoHEscVCzKZsJDlxQZ6poGnEY9yZY1WhsCLpJUNdV7vT30jmqvxP9HVX78cf ZLbcHsOOADCJZ+kzBfHM+AGn/66uFYWxppyh3qA1RSoPnSs7px5U0GxR+sv5+QCbGRzL aA2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789139112; x=1789743912; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=7/A+IkvGH5yYLsl3B/FA+2ENzgeK330huKjO7uo/XWA=; b=BS8DK3BibGDkGCH5xPJC8FI463GzavcXuU3pP1zu8Dk8UnuaSJ/SSppNOyBpWlVqQW G4BANUgrCg0u7TaaS4TA6LihpJDAYVaAQa6XO2O3PaaoHR+pPoKqJ06rXZG5fIdHoGpu f/uAEYB81FW92nWrteoWn8hblEpNcRe6oX9HidE9iUQst//Lhx020AMbVFBwoj06rH+3 nrvYc0YmuSSZTs8yCFqN369NB5D6X1EzxXlvF2kmqclkW9OTIipi63H1AWLjY5xH38N/ +nTI8vnhMuhKOJfCAQ49PYz8dOnMDfVcbXdHf8RfEkTLl3aRF7pnuvhnFxComObbNhMh sFRA== X-Forwarded-Encrypted: i=1; AKwUvBweAwDBUkmHaE78jXU+raXjCL1fwUcUQ8FixKVLnGSzf0GkLO1acHwQJhJsMnfkp+uJVQNk8kRcdvjkoy4=@vger.kernel.org X-Gm-Message-State: AFuF++lgXyI8Byq8vtiOwwWg4lsLTCOqxBOKfobgrBuhoeeRDqkLpMBd 6wzTIl92Zm0hdSXxZ9IlF+Q22PgDClfvt10gb9FsvIkXbdfrQVpaiHnt3BW78j3Jgts= X-Gm-Gg: AYBFou1IKVc1DffW2iUsTUO19DXT3LYVeVfDGoO6tdhhWKEdbhBgfRT8m0sT73wCF7A oPYqf9oQXilnS0D8UrnchxBvxgeFdKGVsOEOlwXoSiinluq/8tN/1oIIN9sOsYwDN6ycuBnY6r/ kLkTL2wi2bYFnrwVeHzF8LoGOYknH2Rftbd0jDZ1myvBlGBtTs0HkgIS6a9iBH2Js09ekWP5pRg zixiCEyoQu/voCvQN7gMGoNjHbaqO7CiitTKVT3YOUF1UqvZ9jc8QqY+J2HxNWRCVNCSGnIghR8 tStnsnPL4r/fizpWQolUl+4rrKJ4owLr6pEn3hFPJ4OzCDtuzZlb9QyjCS03Dn2JBwBpHz/HsL9 rQ+CFHbEGGG2GTF+lL6niXAw5c1UbWkYrENyJDzZjJfQw0Fphhexj308sqz2eeCwiiN+EBFQVgk H/ryiigzVWrBmNBueYLL3zUbHBN7TeYvWlBehewrC0XAlQ6v/Z+5dSE1TxOLUQXxE= X-Received: by 2002:a05:600d:8498:20b0:49c:fc6c:be15 with SMTP id 5b1f17b1804b1-49e619c6eecmr39713085e9.27.1789139111976; Fri, 11 Sep 2026 08:05:11 -0700 (PDT) Received: from localhost.localdomain ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb350686sm6853579f8f.27.2026.09.11.08.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 08:05:11 -0700 (PDT) From: Petr Pavlu To: Jens Axboe , Jakub Kicinski , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jani Nikula , Rodrigo Vivi , Joonas Lahtinen , Tvrtko Ursulin , Matthew Brost , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= Cc: Simon Horman , David Airlie , Simona Vetter , Francois Dugast , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , linux-block@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] syscalls: Include error-injection.h for ALLOW_ERROR_INJECTION() Date: Fri, 11 Sep 2026 17:04:03 +0200 Message-ID: <20260911-module-include-error_injection-v1-3-5da895d8c84d@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.com> References: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.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="utf-8" Content-Transfer-Encoding: quoted-printable include/linux/compat.h and include/linux/syscalls.h use ALLOW_ERROR_INJECTION(), which is defined in asm-generic/error-injection.h. They currently rely on that header being included indirectly through other files, typically via linux/module.h -> linux/error-injection.h. Add the missing include in preparation for removing the linux/error-injection.h include from linux/module.h. Signed-off-by: Petr Pavlu --- include/linux/compat.h | 1 + include/linux/syscalls.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/linux/compat.h b/include/linux/compat.h index 8da0a15c95f4..ad37ca617e65 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -18,6 +18,7 @@ #include /* for aio_context_t */ #include #include +#include =20 #include #include diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 8413b624ad47..552d9710a0d5 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -92,6 +92,7 @@ struct file_attr; #include #include #include +#include #include =20 #ifdef CONFIG_ARCH_HAS_SYSCALL_WRAPPER --=20 2.55.0 From nobody Fri Sep 25 13:54:13 2026 Received: from mail-wr2-f12.google.com (mail-wr2-f12.google.com [74.125.225.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35CB7377A9E for ; Fri, 11 Sep 2026 15:05:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.76 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139118; cv=none; b=kwdhu/IPBlT8yaBkPjfsx9yQfVMu05Ew+E18HIXg2YtgKtGUjwUi0ilFMNLZrE7qKiCS9O6GxjGQ74PXLG3KNr1f1tUjz/lyF2EE7TZdkcn81/Elq7Y1sTMy0mfOmt/fKRwl8qa2e3mgpV7hf9hFYpYpUc3xbcsf7ZKMMfo4gZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139118; c=relaxed/simple; bh=jx3j2XbXWnO55UDnCdyL4nYB8h7oZRpXcwhJjfFasT8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bbuGusLJB3C/CxOtaXH4JRsioE3qTMvdGnhc6rh2mbEvXFxxBGLuEa+r0SXHjVixBT4O1jfDhNCY1FU01bkC7aP9vPL91IbprFI13XS6xgj8sKiFq7ovnqi/TaBrBNwTnIKcayKHLmfaBNCf6za6rJqrlRewywpdDdXauz6+YR0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=MZduPaIz; arc=none smtp.client-ip=74.125.225.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="MZduPaIz" Received: by mail-wr2-f12.google.com with SMTP id ffacd0b85a97d-484366874b0so560772f8f.2 for ; Fri, 11 Sep 2026 08:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789139113; x=1789743913; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=XKohTBQhTvhy9wNz0LcPmFyXDw2Vls36EVI0PSYF1LE=; b=MZduPaIz+l8Za7XdIBJ01uZ3wldcJoGuDoHHInjQbkz/cqJ/3CD2lScvmKTTiWjYin +h0misW0DqVQmTyHDIv64TtRvgb80h4iTOlNEGtE/2hrIKGMT00q6Doy3JkXUjbY5mlo raaQvuIkcG2UsgEIvq1UgsobMXJMJrHnyVn/5fUIPamySp74mubvNeaSh7Po4h91rRra DyT0X9PuoihJ96RNYis9ozRlXBKx4zbV4edN5ux0ULgg5I0aDEWNls4k2iI1nmS5V68Z DkWBTyocYP4mW9xakgPG28XvSa6bDqSizN0ljrPfj4h3GV+w9LHgCpr5KXfERvJC4+Hf NLTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789139113; x=1789743913; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=XKohTBQhTvhy9wNz0LcPmFyXDw2Vls36EVI0PSYF1LE=; b=nowOVIXl4X8yuAOSP4JR1XOTQ4BQFw8tnM8x90sR2kSYN68OBqNGNEcVPgzOazka91 uG3nUMNvPM2zroQoZ+rZJ+bkLHTWLW5S+9MdBHEZ56aeiI9fqYnWahWNntBGgrUEH2Q/ 0AMwCvfJH29ZfCUA3kOUHeJ2CvsAofDVYSP/3Gf0PzFO8KTzztiBS3yzp7aSPWn5M4S0 2GcvY16PyNNv4PwRpi5ZJaEN/0ekfzBkGm5si91J4k86ZfbHdmjIT/D9+tgObp+5wCQD +nnDhLWiOK9UN497anc+hTHQjUmX+uiJPMQRXE4ul6wC0DGX5asTDREw9EhP6N83/Ubx obDg== X-Forwarded-Encrypted: i=1; AKwUvBxiV+1uQhDvT5Ip4NeGiU+vjVGL2koNLgwcdI1iTJjUmp24h3eXxkWGQ6mOE6hFBN1IN2CkwAl9bvP+g5o=@vger.kernel.org X-Gm-Message-State: AFuF++lP5CBJSBwd5WXrc44hJb6N911fpmijt5HTY76qLyCitQdrbUSJ rnMkiddWAPxCqM9fFZel2GEZ/dyPn5gL4olWNHf1krRLApuOXhPy0dVxK2x44oGWZW0= X-Gm-Gg: AYBFou32UtgjNCIIpJnWxwj37cFJTIhe1lJXxIHmlVPzK9ilJ8n3FgfZPFCqLlywVUN KBV5GYFa1jr7lb904SPnpILvNNaza5y0xQN3e2sWiS5+ZAYW0LYPj7wuU5Iiy0AlkzeAGLI6QOa Zic8zYMrMuT5XLG8HaTX/wxVdpMm533ZxWbg0K2qgMJTV506S9L+UvRlruSat40Jxh6DRg0TZiB EVb4CVWF/i/jfAvqHIAWIkDQ+sV/lCq0moN250qJMVD86nMwmkUPO9hXCYnn7gQpXd/94NERhCB JZzPymqJf2iEuLCNIJ9/S3B4hQt8KZ5KWhK2Zi3wENI4IMMh5lG6fycS16/5nksMZMNeY9rNI3Y SEVN5wxOtN9JTG/mOwik64l2JK00jbO1H2wx9twPrFbkGimnGeElmj1QbWiX/OZdnx8vbORKd3K BIu7xApO1KUaLhybZ+iUDccdmIdPKcSMItiVnIAFNuF+p3lWJo4gkbIlaElsmisFyciYA/7xMP3 58g5Q== X-Received: by 2002:a05:600c:540e:b0:49e:6692:27fd with SMTP id 5b1f17b1804b1-49e66922810mr55050755e9.2.1789139113470; Fri, 11 Sep 2026 08:05:13 -0700 (PDT) Received: from localhost.localdomain ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb350686sm6853579f8f.27.2026.09.11.08.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 08:05:12 -0700 (PDT) From: Petr Pavlu To: Jens Axboe , Jakub Kicinski , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jani Nikula , Rodrigo Vivi , Joonas Lahtinen , Tvrtko Ursulin , Matthew Brost , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= Cc: Simon Horman , David Airlie , Simona Vetter , Francois Dugast , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , linux-block@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/6] drm/i915: Include error-injection.h for ALLOW_ERROR_INJECTION() Date: Fri, 11 Sep 2026 17:04:04 +0200 Message-ID: <20260911-module-include-error_injection-v1-4-5da895d8c84d@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.com> References: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.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="utf-8" Content-Transfer-Encoding: quoted-printable Several drivers/gpu/drm/i915/*.c files use ALLOW_ERROR_INJECTION(), which is defined in asm-generic/error-injection.h. They currently rely on this header being included indirectly through linux/module.h -> linux/error-injection.h. Add the missing includes in preparation for removing the linux/error-injection.h include from linux/module.h. Signed-off-by: Petr Pavlu Acked-by: Jani Nikula Reviewed-by: Francois Dugast --- drivers/gpu/drm/i915/display/intel_connector.c | 1 + drivers/gpu/drm/i915/display/intel_display_driver.c | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 1 + drivers/gpu/drm/i915/gt/intel_gt.c | 2 ++ drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c | 1 + drivers/gpu/drm/i915/gt/uc/intel_uc.c | 1 + drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 1 + drivers/gpu/drm/i915/i915_driver.c | 1 + drivers/gpu/drm/i915/i915_pci.c | 2 ++ drivers/gpu/drm/i915/intel_uncore.c | 1 + 10 files changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_connector.c b/drivers/gpu/d= rm/i915/display/intel_connector.c index 7ef9338d67ab..a287884c0045 100644 --- a/drivers/gpu/drm/i915/display/intel_connector.c +++ b/drivers/gpu/drm/i915/display/intel_connector.c @@ -23,6 +23,7 @@ * DEALINGS IN THE SOFTWARE. */ =20 +#include #include #include =20 diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c b/drivers/= gpu/drm/i915/display/intel_display_driver.c index 70d112fd4287..204810a11e46 100644 --- a/drivers/gpu/drm/i915/display/intel_display_driver.c +++ b/drivers/gpu/drm/i915/display/intel_display_driver.c @@ -7,6 +7,7 @@ * details here. */ =20 +#include #include #include #include diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i9= 15/gt/intel_engine_cs.c index c0fd349a4600..2c3bc7b67c0d 100644 --- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c +++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c @@ -3,6 +3,7 @@ * Copyright =C2=A9 2016 Intel Corporation */ =20 +#include #include =20 #include diff --git a/drivers/gpu/drm/i915/gt/intel_gt.c b/drivers/gpu/drm/i915/gt/i= ntel_gt.c index 5c7f862f7100..2f0e1cb5578c 100644 --- a/drivers/gpu/drm/i915/gt/intel_gt.c +++ b/drivers/gpu/drm/i915/gt/intel_gt.c @@ -3,6 +3,8 @@ * Copyright =C2=A9 2019 Intel Corporation */ =20 +#include + #include #include #include diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c b/drivers/gpu/drm/i9= 15/gt/uc/intel_guc_ct.c index 1c455d84bf9d..091aa33f624a 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c @@ -4,6 +4,7 @@ */ =20 #include +#include #include #include #include diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/g= t/uc/intel_uc.c index bd07c72a66fc..d367a897c86b 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c @@ -3,6 +3,7 @@ * Copyright =C2=A9 2016-2019 Intel Corporation */ =20 +#include #include =20 #include "gt/intel_gt.h" diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c b/drivers/gpu/drm/i91= 5/gt/uc/intel_uc_fw.c index 7fac97fe30a6..d7c731fe972b 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c @@ -4,6 +4,7 @@ */ =20 #include +#include #include #include =20 diff --git a/drivers/gpu/drm/i915/i915_driver.c b/drivers/gpu/drm/i915/i915= _driver.c index ce6d20958320..aeb7b24c81c8 100644 --- a/drivers/gpu/drm/i915/i915_driver.c +++ b/drivers/gpu/drm/i915/i915_driver.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pc= i.c index 2f03f95945f1..84a7dc6ab5db 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -22,6 +22,8 @@ * */ =20 +#include + #include #include #include diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/int= el_uncore.c index 170e83a8c9fc..e360e4f9d9a2 100644 --- a/drivers/gpu/drm/i915/intel_uncore.c +++ b/drivers/gpu/drm/i915/intel_uncore.c @@ -21,6 +21,7 @@ * IN THE SOFTWARE. */ =20 +#include #include =20 #include --=20 2.55.0 From nobody Fri Sep 25 13:54:14 2026 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46657368263 for ; Fri, 11 Sep 2026 15:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139120; cv=none; b=YpVe4UF44pCuDJem22NjN+oUi489w8b5H1zY9lli8BIpu/6MeV9GplBe0gS5897oI+WctmumlHHDbK5q35X9HRNbg8pSLCGrrS1+8HezJsgbBeR7U2ZCo9helNIlJZx3sKrxY6V9NU9gpOoGlMqwUudYLPl1cXNKf37Fr6M3/5I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139120; c=relaxed/simple; bh=DtJ9ZpMVzp9pBwNVieDXauBpJyGXCHWbrcsUIqWrCLk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cgSPnqMnvaZow1eqXYlgjyBWmZNzgXoyDROE1V+AqVtkzwxBBq5zL5eh5aTIr2pYggJceMUcOHZcAvBUWV6hNpgQNinYCKe4CFOFtN3IJuMGcDsjrjoSg8ipbRBOlpKhJHZiECPbmd0B/ZFYPRiM6uEOX9ptMy0b7WnDhyTmOas= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=I+ZvYA1m; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="I+ZvYA1m" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-49ccfae359fso8297725e9.3 for ; Fri, 11 Sep 2026 08:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789139115; x=1789743915; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=nniMuKkVKCBrFfej6b+g/WdQXf4DCG9QFf6qRLzwPt4=; b=I+ZvYA1mbICTv0PbrqdQMGSq+gzptDaunsIRkczLkUVPh4RgeYjoWN4vx+l99uj4hc zcO7ZRyK98cOCz0YD10nH0BPzXr57Tz5RI0IcGB8yfMyUZ9Vhww1By2HzkboYWvjEs+k h5mYmWIInmYh27rNaIxNH4K+GM6nqC77p96zle/MtMjRZ4fGPi1zb5KcBkeExtUBpUuA 5Rmx/Gcwa6MXoLk3EO5HI9Ut5BuemqDBe5S+Ix+Ahm4A0UySPIX4lovRO03XUBNAbt5n T1ZSHMnHfZRWoh5jbgeGxfcHFdOlPs5VkyPNR54wctreyKisukdw5jGWmJwMBvf6+RA+ oWtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789139115; x=1789743915; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=nniMuKkVKCBrFfej6b+g/WdQXf4DCG9QFf6qRLzwPt4=; b=DzwGJjE6umt4Pc5OOsSKw+WH6AdOx5VcDECvw4FiEfqgsQUoY2sb+kgkCB9QpwRRUq wzDB/WLmE5hNqYxUqhuefs/Og/eNDDsp8meE3NbIB7cjdAirrom466JMFeZNOzvjHXH7 v+xOzV8+2mh1NGd0s2nTdwy7wpca0s1+UErq79WkmfxnDqKQUmlZ6aEyyvHyplBcB9iS +/DeM2XTEF4QZI2Oy9UROedcuHpXOEyDWwiqpfkDddoAMy8uRc0CUIIecx1xOFNDptlZ kVujgaREfvQC0A9fVkWkEb9/ryBmXwlFU06WUg3xltFaUD3F9pgLX5ZL08+YJy6ooorN Qz/w== X-Forwarded-Encrypted: i=1; AKwUvByKhX0yE1TQhunmik1/bDqVWbqUWTn4hnuUVRkrcupKvgT0FV8spFTFJ9xtRbFRJjjGKs5ZfNUt5nBPCe0=@vger.kernel.org X-Gm-Message-State: AFuF++l0UnGROrAxH8iKSiqnP/om/Mb+NI71CWQB3gjGUABebOMhth0f eYB/NjBovzR7gwep+7657Lz2TjRCqerhFCb1cJru/NyiS9a2C2JwYlbzsDzdSNEn9rE= X-Gm-Gg: AYBFou0dhh0mgfexsQycXb0bg+bDj6/j3HfR30llNz0pfX1e2uKIYuLeGGd2bvYuZsD Idnr6BbKrIbnfPUGelPkFqBdZPeJZNZCiy761/dR0Y8X4Qi31vOB0LDHeH23jETA2vtwLFflFAj QSo6CIJOC71UIa2Z9XTzAFzmypcvr01mlp8JUKPad9y1w2seF3QT8QSujNoWdeZg8sB/3jLIoOD 4B5UHL+JtzbLoTVhZMIqeP1ndM5JRjkQK0Q7nYXbPAVW3IfSEqbWQJi+qo7EzCCJC5tdrN7uQTk dIa+uswEEgYuH4MVWTAn/BS7SebEs51FL/3cxACe3vo/MtqQbG+Xzg7897Op4VTG5EFTA0FIRr8 y1u0/MCM9uPMXkM80zjydz1N1bC+Jh5u+n+/eoNrUoWuUU5syaIMHD8OUJ2YIlH/vb/xN+Py//g aiL3JeZfnm2NeA4k92YfyZjqkA6wDklUmvLmg1epAiY2nwhkXigp6ESHTzjVfaVYrf2G5PyHKp4 qAIR4n0kLhpVXgI X-Received: by 2002:a05:600d:6501:20b0:495:48d7:f178 with SMTP id 5b1f17b1804b1-49e61988e73mr40996545e9.11.1789139114793; Fri, 11 Sep 2026 08:05:14 -0700 (PDT) Received: from localhost.localdomain ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb350686sm6853579f8f.27.2026.09.11.08.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 08:05:14 -0700 (PDT) From: Petr Pavlu To: Jens Axboe , Jakub Kicinski , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jani Nikula , Rodrigo Vivi , Joonas Lahtinen , Tvrtko Ursulin , Matthew Brost , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= Cc: Simon Horman , David Airlie , Simona Vetter , Francois Dugast , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , linux-block@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] drm/xe: Include error-injection.h for ALLOW_ERROR_INJECTION() Date: Fri, 11 Sep 2026 17:04:05 +0200 Message-ID: <20260911-module-include-error_injection-v1-5-5da895d8c84d@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.com> References: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.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="utf-8" Content-Transfer-Encoding: quoted-printable Several drivers/gpu/drm/xe/*.c files use ALLOW_ERROR_INJECTION(), which is defined in asm-generic/error-injection.h. They currently rely on this header being included indirectly through linux/module.h -> linux/error-injection.h. Add the missing includes in preparation for removing the linux/error-injection.h include from linux/module.h. Remove also the linux/fault-injection.h include, which commit 91b2c42c214f ("drm/xe: Use fault injection infrastructure to find issues at probe time") mistakenly used to provide the definition of ALLOW_ERROR_INJECTION(). Signed-off-by: Petr Pavlu Reviewed-by: Francois Dugast --- drivers/gpu/drm/xe/xe_device.c | 2 +- drivers/gpu/drm/xe/xe_exec_queue.c | 1 + drivers/gpu/drm/xe/xe_ggtt.c | 2 +- drivers/gpu/drm/xe/xe_guc.c | 1 + drivers/gpu/drm/xe/xe_guc_ads.c | 2 +- drivers/gpu/drm/xe/xe_guc_ct.c | 2 +- drivers/gpu/drm/xe/xe_guc_log.c | 2 +- drivers/gpu/drm/xe/xe_guc_relay.c | 2 +- drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 1 + drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 ++ drivers/gpu/drm/xe/xe_mmio.c | 1 + drivers/gpu/drm/xe/xe_oa.c | 1 + drivers/gpu/drm/xe/xe_pm.c | 2 +- drivers/gpu/drm/xe/xe_pt.c | 2 ++ drivers/gpu/drm/xe/xe_pxp.c | 2 ++ drivers/gpu/drm/xe/xe_sriov.c | 2 +- drivers/gpu/drm/xe/xe_sync.c | 1 + drivers/gpu/drm/xe/xe_tile.c | 2 +- drivers/gpu/drm/xe/xe_tuning.c | 2 ++ drivers/gpu/drm/xe/xe_uc_fw.c | 2 +- drivers/gpu/drm/xe/xe_vm.c | 1 + drivers/gpu/drm/xe/xe_wa.c | 2 +- drivers/gpu/drm/xe/xe_wopcm.c | 2 +- 23 files changed, 27 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c index ee732e5495f7..fcef8d5fc7ca 100644 --- a/drivers/gpu/drm/xe/xe_device.c +++ b/drivers/gpu/drm/xe/xe_device.c @@ -7,7 +7,7 @@ =20 #include #include -#include +#include #include =20 #include diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exe= c_queue.c index cd053de3c6b5..3e46c14584c4 100644 --- a/drivers/gpu/drm/xe/xe_exec_queue.c +++ b/drivers/gpu/drm/xe/xe_exec_queue.c @@ -5,6 +5,7 @@ =20 #include "xe_exec_queue.h" =20 +#include #include =20 #include diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c index 8ec23862477f..e05582ad098a 100644 --- a/drivers/gpu/drm/xe/xe_ggtt.c +++ b/drivers/gpu/drm/xe/xe_ggtt.c @@ -6,7 +6,7 @@ #include "xe_ggtt.h" =20 #include -#include +#include #include #include =20 diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c index 4286bd05c686..34e21a70d5ad 100644 --- a/drivers/gpu/drm/xe/xe_guc.c +++ b/drivers/gpu/drm/xe/xe_guc.c @@ -5,6 +5,7 @@ =20 #include "xe_guc.h" =20 +#include #include #include =20 diff --git a/drivers/gpu/drm/xe/xe_guc_ads.c b/drivers/gpu/drm/xe/xe_guc_ad= s.c index ff8eee3831aa..41a2b8c807d6 100644 --- a/drivers/gpu/drm/xe/xe_guc_ads.c +++ b/drivers/gpu/drm/xe/xe_guc_ads.c @@ -5,7 +5,7 @@ =20 #include "xe_guc_ads.h" =20 -#include +#include =20 #include =20 diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c index fe70c0fd85c5..ac6cbbaa6cc0 100644 --- a/drivers/gpu/drm/xe/xe_guc_ct.c +++ b/drivers/gpu/drm/xe/xe_guc_ct.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include =20 #include =20 diff --git a/drivers/gpu/drm/xe/xe_guc_log.c b/drivers/gpu/drm/xe/xe_guc_lo= g.c index 538d4df0f7aa..6f0739204d9e 100644 --- a/drivers/gpu/drm/xe/xe_guc_log.c +++ b/drivers/gpu/drm/xe/xe_guc_log.c @@ -5,7 +5,7 @@ =20 #include "xe_guc_log.h" =20 -#include +#include =20 #include #include diff --git a/drivers/gpu/drm/xe/xe_guc_relay.c b/drivers/gpu/drm/xe/xe_guc_= relay.c index eed0a750d2eb..e528d95ba7fe 100644 --- a/drivers/gpu/drm/xe/xe_guc_relay.c +++ b/drivers/gpu/drm/xe/xe_guc_relay.c @@ -5,7 +5,7 @@ =20 #include #include -#include +#include =20 #include =20 diff --git a/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c b/drivers/gpu/dr= m/xe/xe_hw_engine_class_sysfs.c index d42e263e0611..ac81f382e7dc 100644 --- a/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c +++ b/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c @@ -4,6 +4,7 @@ */ =20 #include +#include #include #include =20 diff --git a/drivers/gpu/drm/xe/xe_hw_engine_group.c b/drivers/gpu/drm/xe/x= e_hw_engine_group.c index 0804b426b6f9..418ff427ae30 100644 --- a/drivers/gpu/drm/xe/xe_hw_engine_group.c +++ b/drivers/gpu/drm/xe/xe_hw_engine_group.c @@ -3,6 +3,8 @@ * Copyright =C2=A9 2024 Intel Corporation */ =20 +#include + #include =20 #include "xe_assert.h" diff --git a/drivers/gpu/drm/xe/xe_mmio.c b/drivers/gpu/drm/xe/xe_mmio.c index 7fa18dfcb5a2..d8f8a2453bb6 100644 --- a/drivers/gpu/drm/xe/xe_mmio.c +++ b/drivers/gpu/drm/xe/xe_mmio.c @@ -6,6 +6,7 @@ #include "xe_mmio.h" =20 #include +#include #include #include #include diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c index ab09dcff5860..b15c96e35fab 100644 --- a/drivers/gpu/drm/xe/xe_oa.c +++ b/drivers/gpu/drm/xe/xe_oa.c @@ -5,6 +5,7 @@ =20 #include #include +#include #include #include =20 diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c index a5289a9df8d2..c0489a8d8a62 100644 --- a/drivers/gpu/drm/xe/xe_pm.c +++ b/drivers/gpu/drm/xe/xe_pm.c @@ -5,7 +5,7 @@ =20 #include "xe_pm.h" =20 -#include +#include #include #include #include diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c index a07316a45d79..6c6d9be2717e 100644 --- a/drivers/gpu/drm/xe/xe_pt.c +++ b/drivers/gpu/drm/xe/xe_pt.c @@ -5,6 +5,8 @@ =20 #include "xe_pt.h" =20 +#include + #include "regs/xe_gtt_defs.h" #include "xe_bo.h" #include "xe_device.h" diff --git a/drivers/gpu/drm/xe/xe_pxp.c b/drivers/gpu/drm/xe/xe_pxp.c index 2fef274a585e..2f3632ac201a 100644 --- a/drivers/gpu/drm/xe/xe_pxp.c +++ b/drivers/gpu/drm/xe/xe_pxp.c @@ -5,6 +5,8 @@ =20 #include "xe_pxp.h" =20 +#include + #include #include =20 diff --git a/drivers/gpu/drm/xe/xe_sriov.c b/drivers/gpu/drm/xe/xe_sriov.c index f3835867fce5..ec254b950daf 100644 --- a/drivers/gpu/drm/xe/xe_sriov.c +++ b/drivers/gpu/drm/xe/xe_sriov.c @@ -3,7 +3,7 @@ * Copyright =C2=A9 2023 Intel Corporation */ =20 -#include +#include =20 #include =20 diff --git a/drivers/gpu/drm/xe/xe_sync.c b/drivers/gpu/drm/xe/xe_sync.c index 37866768d64c..711de22f4986 100644 --- a/drivers/gpu/drm/xe/xe_sync.c +++ b/drivers/gpu/drm/xe/xe_sync.c @@ -6,6 +6,7 @@ #include "xe_sync.h" =20 #include +#include #include #include #include diff --git a/drivers/gpu/drm/xe/xe_tile.c b/drivers/gpu/drm/xe/xe_tile.c index 74d925a337b7..810dfd98d830 100644 --- a/drivers/gpu/drm/xe/xe_tile.c +++ b/drivers/gpu/drm/xe/xe_tile.c @@ -3,7 +3,7 @@ * Copyright =C2=A9 2023 Intel Corporation */ =20 -#include +#include =20 #include #include diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c index bcec40ca2d35..d3d38b4380be 100644 --- a/drivers/gpu/drm/xe/xe_tuning.c +++ b/drivers/gpu/drm/xe/xe_tuning.c @@ -5,6 +5,8 @@ =20 #include "xe_tuning.h" =20 +#include + #include =20 #include diff --git a/drivers/gpu/drm/xe/xe_uc_fw.c b/drivers/gpu/drm/xe/xe_uc_fw.c index a8e6f18cc9b4..f17925ad53f5 100644 --- a/drivers/gpu/drm/xe/xe_uc_fw.c +++ b/drivers/gpu/drm/xe/xe_uc_fw.c @@ -4,7 +4,7 @@ */ =20 #include -#include +#include #include =20 #include diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c index 23952ad8951e..f000564f1e59 100644 --- a/drivers/gpu/drm/xe/xe_vm.c +++ b/drivers/gpu/drm/xe/xe_vm.c @@ -6,6 +6,7 @@ #include "xe_vm.h" =20 #include +#include #include =20 #include diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c index 139434946f8f..98d2fdd3ba6f 100644 --- a/drivers/gpu/drm/xe/xe_wa.c +++ b/drivers/gpu/drm/xe/xe_wa.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include =20 #include #include diff --git a/drivers/gpu/drm/xe/xe_wopcm.c b/drivers/gpu/drm/xe/xe_wopcm.c index fe65ed246775..7da1e3ebc839 100644 --- a/drivers/gpu/drm/xe/xe_wopcm.c +++ b/drivers/gpu/drm/xe/xe_wopcm.c @@ -5,7 +5,7 @@ =20 #include "xe_wopcm.h" =20 -#include +#include =20 #include "regs/xe_guc_regs.h" #include "xe_device.h" --=20 2.55.0 From nobody Fri Sep 25 13:54:14 2026 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AE0037E2E4 for ; Fri, 11 Sep 2026 15:05:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139121; cv=none; b=GZ+ebiOZSuj+pOLAvw2IT0MpmKPd9SKL0V0iETL4WFeBHigEjB8XcibN6oUgEsYe0zAfLlC6FsxX+S5KwbwnGUymxJm2Jx7kgr8oXSxDMT7IfWnEIIOvUfRw/x1dpVxHHw1Pee5fYJojlFVzbl6W3mr89PQOR/PMEWLDeytyODA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139121; c=relaxed/simple; bh=JL+uluzocOxsNsOaPXlEzBUTr48C+sSlS5wULgBtFtM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WN0ELc4hMyVeLBSLlpB0pYiCh72J5bXVA2gLtqkShyEhqJYFNWwFKZQCV02bRTfK5qAwjOYeR+NWbd3Xrf+8z3xJUVFxrmGrsS4aakqAcwj+3WupIF80TqQqlgMEkwjavAbdGt5cyz1CkMZK+Egk13bbR4Lmp0Sw+PR34CUnlEw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=DPoBfuQE; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="DPoBfuQE" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-486e934b0c9so353320f8f.2 for ; Fri, 11 Sep 2026 08:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789139116; x=1789743916; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=a258DNEK6aR0v+xDimWu2caaAUdwCvMljBObmnBjN5k=; b=DPoBfuQEnSW5Lg5efeT4TbUM3prqvIUhPd4e5hEY0qDOO+rDm2xucBa0yhmFynP+N3 WR6a2Gc2Gg4xPJ+/pv/3qqwEuHoTM9zVDN1DceSyYg43HeUzI6htFkmmQett3GeRPX+S xEQ+K4u9guKtuLvcCJLF7kLfaqhMbAviVHOQ5JWBbVd5vePW+cWI1A/DKoY3mCEzMOkk Y+Hv+yx7UvK8P1P114QbrqXOITDqKZJ8W42XE0Nr58ksWIM7Wqi38tAFD1RGDUieECyv 64JK9yPfgwbchvz/IWFnDoeyM4gFoUNujTtTHeHvmhhHodv9ecWYuEs/+7UKTO4ibSdO p3Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789139116; x=1789743916; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=a258DNEK6aR0v+xDimWu2caaAUdwCvMljBObmnBjN5k=; b=SYMauEXUXqDE3et0gveMACvtQkNJxMd2sV9+FCI1xgykD9U7O5KihBxoAd1rZ03lY9 ZxiXTl1334gjyxvOO9CW9nJ55u032wkWN693ywxFh2M2xVAzM4lk5vrhlJVOzpALtdtW V9tPBxSyz2m8eO0as1dvaqFpxeEYcTnju4W+3WKxQrUQ4wE+JQZ0WKGsrSjzg1jr7UqQ oDwApM5lCW7I18E8Ap1fUxmMks7fhIOTEOtxVVLoOGMG8A25T54gwUMSebDWUCrkXIMo R+Y/SM/PWb0zBJH2Yu8SCS4NqTGeKmBYmcR4ixTwE+ftLPUlUsHGP6nEKWJIshquQ30V HikQ== X-Forwarded-Encrypted: i=1; AKwUvBz9QXlGjoaBpkozskFVE/pRiNG0u86CHU/CBKUYKGoozbvK1jJQ5vtd0lo18etOtKjGjnHF3umnYvXpt4w=@vger.kernel.org X-Gm-Message-State: AFuF++n79DCQ6kkFWx0VFlrP4fbh7oGtKpNJ6RrXrISiIy4EdBIzOwP7 Gwe+83oIBy7ODq+eRmDx+ht4Z/T15x7Nqi5VTy/TQ/g9hVjLVcp1k8sBL7vyxGFg8Mo= X-Gm-Gg: AYBFou0ForYvst4VTpBGULcM/VZluqYDAxBJMBN6spvob8w89vXfRfYRg3vQG88LKPT 1eueONjKkHu0qyV2v3fNHzZ5GfNv07pIpjekgQS5Rvjwvg5Lijbl1ej12yvY3yXYROx93CA90aL IgGq+FLD3wUXUISoMEgLmjpO+8Low53OoTmPtxIAtEmJBygSl9MFqBao37oL4PZq8vt2MaAtaJx y3YO1r7cudQmiuxeNrOdy+UKbt6FZ90u2X6vliW599aZ5uOszre3lDUVkZlX9XEYNeDCbXHEg5A lx4Mj6H/W3jd6sqovt0tPJPrpufIHbZk//hYI9f5WrubVyOi/c9lf/qdRAvAbp1XbgJTDijEZWf YmC8bhsnLTxBk8m5kC6Edz26vokWBlmsa3s8/KeajPJqpCcOBU8hes98iYtO9v46bMEQs1NYiW8 0FJbTs+WlYFlF3pFOabp50Xc4NzJ45b5EHXpnARF1MhrxSDMlAablKALc1LRHAPJAlHZPqbyZuw nJFKMU= X-Received: by 2002:a05:6000:491e:b0:486:f4b6:3bce with SMTP id ffacd0b85a97d-486f4b63c4fmr559176f8f.24.1789139115924; Fri, 11 Sep 2026 08:05:15 -0700 (PDT) Received: from localhost.localdomain ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb350686sm6853579f8f.27.2026.09.11.08.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 08:05:15 -0700 (PDT) From: Petr Pavlu To: Jens Axboe , Jakub Kicinski , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jani Nikula , Rodrigo Vivi , Joonas Lahtinen , Tvrtko Ursulin , Matthew Brost , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= Cc: Simon Horman , David Airlie , Simona Vetter , Francois Dugast , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , linux-block@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] module: Remove the error-injection.h include from linux/module.h Date: Fri, 11 Sep 2026 17:04:06 +0200 Message-ID: <20260911-module-include-error_injection-v1-6-5da895d8c84d@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.com> References: <20260911-module-include-error_injection-v1-0-5da895d8c84d@suse.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="utf-8" Content-Transfer-Encoding: quoted-printable linux/module.h appears in roughly 15k #include directives across the kernel. This makes it a "hot" header, so it should avoid pulling in unnecessary definitions. The header currently includes linux/error-injection.h to obtain the definition of `struct error_injection_entry`. However, this is unnecessary because the type is only referenced in the file as a pointer, for which an incomplete type is sufficient. Remove the linux/error-injection.h include from linux/module.h and add it to kernel/module/main.c instead, where `sizeof(struct error_injection_entry)` is actually needed. Signed-off-by: Petr Pavlu Reviewed-by: Aaron Tomlin --- include/linux/module.h | 1 - kernel/module/main.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/module.h b/include/linux/module.h index 96cc98568eea..b3a3d5827384 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/kernel/module/main.c b/kernel/module/main.c index d0e1e0bd2ad0..f1392c10907a 100644 --- a/kernel/module/main.c +++ b/kernel/module/main.c @@ -60,6 +60,7 @@ #include #include #include +#include #include #include "internal.h" =20 --=20 2.55.0