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 B7116C88E45 for ; Fri, 11 Sep 2026 15:05:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BE9210F66E; Fri, 11 Sep 2026 15:05:18 +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-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by gabe.freedesktop.org (Postfix) with ESMTPS id B4A1110F672 for ; Fri, 11 Sep 2026 15:05:13 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-49ccfae359fso8297245e9.3 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=k122wcKsBWNJZ5f3rg1pXW8Dxvp6KDDeUSiglODeBZyfu/EsjdB0QQHm+ByRxBXm19 Q/LU/UE/7xj4CdGgiJcwnn+tC7HCgN/HhtYjqQyXgdFT06+fT+9jjUPPyuQLFb/CchMU 4pZbqFnBy/Xhv6ZFFK/3znMRtu9hYe32Kj2IAGwu8tO0gw81El2xaqxHl53ZW8nRrdSZ rwXM5dPV3Z/XgwtaQm6b+i4j/a5k4jk/cQiVaZIBQYaW7D2ItRg6/OeEeag48rrsTkNr 4pXeoBv1Q6rfRH8ycorr7kmaw/n9LYFq+rVeIDADPpyqy7b5ND/waTpZ60p23ZEBo7VD Bffg== X-Forwarded-Encrypted: i=1; AKwUvByFV788nM7QSE62b4WdY6eNLjQ/ytV5XgioLHuMx9NhtleEnFPS2JutqYkeBlCM5SucL5Zbdrk1zn4=@lists.freedesktop.org X-Gm-Message-State: AFuF++n/XkI31sir+Cy7xiGs9MQ6mxdzR8wVpLQDSUxCPx9RV0iPLQh9 ufKLZTlTzL6xEoISpUfX67xFsW6gj/UbRqPOPS84OIGwh0s3OHDToxzsWsj8T6oDO4M= X-Gm-Gg: AYBFou3KX6Pu8dW7GaE3Ose+uvPuPX9wUE42wIhisa2GGnbZgc/edHYwv/AUPFPqwkr eAGAIoqxaloM/YmhkCf5zdKbT1AOhu4zMBLYfcu7l3f9zXM+sLZVWcUNLCYMXhc3Ia5G3CUxTpJ Fpk72+gRZqBvkLasU+6cD6ONoNSGpcpVcgRwBvqWDaMET2ejlgpj6/IuK+0xW7jJsVs4cRFFENp s2Qf884Xq3kDRldUkolfuuBeNSHsTBrPpN1qSGAOcWZWPMLkRy74xWbuZcLak+MtMNc4u25cPfr osp37DDRXf0k4Rb7i70u5ZrUb/zSfv/3WzldLF7AOBxRH29SbhCr8M3nOgbevqBIPNVuyvRmF7X vMbk+7de//X5PXIeUC/GFLkDTj+inN22yVfbkORktJOZjCA0+NWF0XVHNTHYnjoOvEa3CYltfZJ ptmr+LBfP5fvEo0+md7m8CdxuakfOvtvufZUbFqop0NgTeb1SJRNkRzM840RG/cUs= 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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