From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6CD3C88E50 for ; Fri, 11 Sep 2026 15:05:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B48C010F66F; Fri, 11 Sep 2026 15:05:13 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=suse.com header.i=@suse.com header.b="KYNLcoI2"; dkim-atps=neutral Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4E1F110F66F for ; Fri, 11 Sep 2026 15:05:12 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-4843f205a5bso743853f8f.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=lists.freedesktop.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=KYNLcoI2F/XfkIIkD3pEwNeHdMpDRESxYbOS4PKHPihoEEiZFaqxzXfp1Y13fiOiqB 8xKuoEaCGLtC3PtFy4wXaLB/1gazsSw+6duh6a0wOOsgB9PL/jPQdtOvrRAY15DDecL2 ZtvxL/14OjXonhFuEWOnFybLcQhLd4rbJv5RKzBzpXhFUZIOwbzPWnOdS1HPcO56WYEC /eBCoUcGDRL/sOBTka4MbI+gdQASsmg7c3gorizoFLpqJJ3IU5oeJRA8RrxX2u34bUiq Rmsg0JGhYIdbem8ultL+9l0cSh3/5/+FTqoMuM2mEni1o8JNUlX46wRuf12gxWbxP3bH mVOQ== 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=KEa0nUxkQRUo2T0T191ASWmI1NyZzB5au4bYyItZge4jYsQ7kPEsT6XNWZ3vOaI0X0 ee9FVPyt+DHZwMTe7zPuBC/7YPmUGdBHMk8pKre3RCP20GFehHARZ/72OcJsssIZ/qJE sFljTpbu67rxRo1aStf7kvDjApjCNuQ6D1w4Dt44F57rXiHl3NKUEYEaXvAkA1X0S48f 3J5kbbKlhA+rKx1AXiFgxiJmP5SjklA27HX4O2KM1e5LVfKfWKZ3nANBd9TfShpy0w07 wRi5Ryt1hKE+/e02brtisiulsFGvEJVPNzprngoR2zX+KsbvQZOq0QTbBRg0tVqv/8Te a57Q== X-Forwarded-Encrypted: i=1; AKwUvBwDj2DHEwq+WMD660idQ47FG0eH5FdQIcQfU3bDYdIoVQGVFcnvaGglChZnY52+MbAOo9/Pj/utHow=@lists.freedesktop.org X-Gm-Message-State: AFuF++lGEOTJQwavDfoAhhjcb25wR7WYNuxtQ4/+whxwznVvOyw7PbXc EtjHRE3wlJu4ZmMgDfqt/uy+vUDVIWka7Wl/lb9t2elQHbJZ3UzZpqNzeHAWmrAcv8E= X-Gm-Gg: AYBFou15zwnfYoEZKoDuFsNqp7jzhAj5zLNkZxmnpiYD4IKJd3vue23L4hZ6KUNcMcx ba4UBykugR6tZyxRT4jlcl9choxCBEXjTw0OqvHHWhlLRHFe5NTdLgIZAIZ1U3iUOAddrS209Lx WSTzQM5Y93yfL2Q9Y34YH87KkuRCQeLoggEPGbiTGzRuEUDW6LfGvrYDNfh0kWDOYy1BrFzTuZ/ n8/fY7AQkXinmN9UWJpNDHtz6CqNIovgcGib92kN/6wk7LJ85VQOAr+JZ7hduZDZEFutd/fMYfb TjyDJy+BPSrGIpew1Lj+UQFxgcOqo0Ipga+TP5acHV9NgbtFfW18ebSA1vMNXX2WzLbJUKZk10y ujkTYOx+93sGReePisZjn2F5TiPBgqG9Fw6lJ+0MyfnzZk7eHcdW1ah8dzIIlLBwcO0nYao8oXQ axyiI+M3ExiN5ZJuc7ieVkbxuF8EeXcF4Q+j88DIq/9iA8e69EJvJUMkhUy6aWoYRL5Fn8JBUsB qak7gKvFEXQrQXI 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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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