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 56CC5C88E50 for ; Fri, 11 Sep 2026 21:45:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 15FA910F6ED; Fri, 11 Sep 2026 21:45:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=suse.com header.i=@suse.com header.b="bAv9f4pf"; dkim-atps=neutral Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id B927110F674 for ; Fri, 11 Sep 2026 15:05:13 +0000 (UTC) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-49b0d8bc2aaso12095455e9.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=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=7/A+IkvGH5yYLsl3B/FA+2ENzgeK330huKjO7uo/XWA=; b=bAv9f4pfJGUPJfFmpSAe/nMN+MkKIUfQwlO66RRkerY2TXy1ayMI6m4GMQbrrGEq8P BsTTAWkG6TRmCmvI5epva9H7HlgHtsgo+K7UkGW0tpHH/SveHiKL57pnxVnu5OmUOjMP KgZz1hgePlH9qMyg+MM2+3ONbTKS6GcyLwNpehALxV2NgmW+cPGHdfxCE8T8JAIoknXL 8hh6c5Ze7/QWpxGCQ4ezb/Cl1oEePq9QkV52EaSiZKq8DfIrXBjI/Lwfl26sI/cjXjUC /VLRJRlzRYAVuggpJkZCHuuQ9gWgzS0wuoV6TgXU0PHFhJNatFHpnm3BC8Ugr2pfyKoD me4w== 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=YBAbi/no8rtHFIug7gMIUCarEWfvlIQs+jyIQXtO/TjZJ0PBYGpXzWtic0Jq6Tq0zN D8R0RimoR3PJYanH6rglmo6W4cqA9qFWdJQtBY8SAT5AaaI1BBDu92wMXRbRJA6FA8v6 o9VrcOxokwErXItpuQ41CxmEwEx8D2It5TKPUku2VRqCadGFF0MzHkGxlY0fdojTavQF mBKdAhjm29Melg4e9BJCNTH03UzauuLq7J3J9FHxBoSvFELSBc6/0U9xvM2j4bNUglyy 5+16JZl57xWugS19TLiAkiTCjhJK3FwT1/+OnjOZg8KcT+HACSOEjsHWSMTo/YaO1We7 KSyw== X-Forwarded-Encrypted: i=1; AKwUvByYf0viik3He+Himj8y03LfsEpcez+/Wugas4RcK2bdatn9Jm9ISGOGJQNyTFczjf2TX2lEFVvhMg==@lists.freedesktop.org X-Gm-Message-State: AFuF++m2+TbRraZGhI0rJYJxjG1D7wCdDnxtvRppc7weHL0LtIIz62UB yyx6GHtsxNxBcy0GnOVdeN3u9Qj5X6ajPnxCW/FyZuuFdseGz+BhUVkeYWno8beJDZ0= X-Gm-Gg: AYBFou0TOvrWG/Cj6BPuG/PUTMZKwRBYulYLJ52wnEtll1vhXhWJqsvh85EnWLX91Op RM0ALAZs7BfPb+KyBYN39OJtDasWqECiW6YUgnznUzC5krpvEcaGFFQf5Ih+Y+UN+69hiH4I/px Jzf2Y3B7WCSa/jksFaKDaLqVngBcjoXezqcRprvfGu+8c48Q7CiUrtjawIo3q3aSMdeO5jDjnQR GxSZT1jT526FKTeIG7N94kOJPB4plXXVftu9D1SYT25cjDleDH0SDhAZXu32T7ImQVoz2HtT4Gk mj6nu5lAebDZT4X1AuQqPshLn6vwjKBDSdQvERJVI7mL19o8CqaUS/1+w7n+qXF1fVdOfOPAkFv r1pcVFyPeYFDqQXADDNr1NI1eYXNGk3qmAbQPUKzoDdJ0+3zPeIXeTQY6YYH5TIbdMW4Qo5qbib tTS2ZKfKcJCzPP/wUhQkLm6bd3CcWsvY9lgEPfD291eYa/GOufsQa/1gRlPtViBqE= 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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 11 Sep 2026 21:45:10 +0000 X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" 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 #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 #ifdef CONFIG_ARCH_HAS_SYSCALL_WRAPPER -- 2.55.0