From mboxrd@z Thu Jan 1 00:00:00 1970 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: 8bit 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 +#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 #include +#include #include #include #include -- 2.55.0