Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2397651lqp; Sun, 24 Mar 2024 17:44:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsD+mooqplm51KBaVJEJ1nqvk7UMnjOnKPedxiqGNgsam2w5CEx239BE7vaXm32HHBSA5fnHKugyHmktFow9KZ956HNQEhBRtkHynp2A== X-Google-Smtp-Source: AGHT+IGvUPukNZzciDL3cspvztiG1gi931xG9IMMS1tk0t1GbabV1uQ1yBjEh7tWClQWi1Sd7FAs X-Received: by 2002:a2e:700c:0:b0:2d4:5a3a:de7c with SMTP id l12-20020a2e700c000000b002d45a3ade7cmr3209055ljc.32.1711327491396; Sun, 24 Mar 2024 17:44:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711327491; cv=pass; d=google.com; s=arc-20160816; b=k8qTEJRIKudk5AUQb8YEHvRzeDtyy+NL4e2U/4NNYIuBRWZRqZKDP/APo9tZfWIYNr ZhkimXT5K+9+3H/ljgHqB87evF5UxSctYytxPYtjmiHuyovYTO565gKpg5ilDpqG3vj7 vhI730jebiN6xGmjwRUBUyoaXRiueFEvI+6C90gaDUCfGQeo6wMZlgsstFX1NQaJ4UYH B+vBkeqqMyDRW26K0x1InbvRs+ujq8bFZsbahaIGEH/cazxd62AovxmTvrRVJJY4qd+5 XJeUOYlI1zcxNq8nQ2vawHr55oMKre2uJZvKxdz7lPkeenDxi0EjgFdE+dWmc3brjtGS Voyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=RZ0v+5YTV5E6EU/h2JmPB+2G9n68gSKKWrW5uMl+5mY=; fh=sMEEx4FZVaFFCZ3kdh8zaEcbC/xP0iB6VsdIiMD8ebA=; b=ioMGuShaJTb/qTOaFdaghjtbpaLbyucskydqrKiqQH0o50qjyQYD7DPik2Ki3nvbWc mcj9/OsnLKjKOvCQgeZsDq0e5Va1C2OyQ+qC+u4NXRCl5n7jrxFqYn3mEQrJevcMmXPt NPVHacsOzl7L/SJfujCFokOttRBjopQYeJTJ0I3QaR3ZOKNT0gaYI4FRIZwV6R9xohuM Oj4bI+rfMC5Dwe4EPwYsNBKOcopf8NH80Qdvfe3nvslCDDR01OCa4DeqU7X5m4pCwoQC V6YntnBtQvCu2NLSHXx0kWQG3BN2IPKUPlt2LAGIIkmiRt1gi6R3nrVw39Q4gFT5qyFW zrlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yog491wT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r8-20020a056402234800b0056869ae4414si2097308eda.55.2024.03.24.17.44.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:44:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yog491wT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CE1261F28027 for ; Mon, 25 Mar 2024 00:24:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F079045BF0; Sun, 24 Mar 2024 22:43:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Yog491wT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01AE21A1326; Sun, 24 Mar 2024 22:43:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320188; cv=none; b=TW+hvXM5BXCCufTnthdIRzZfnPZKNSaXPoq07mXJGzLFSJXszH5mWu0oJ/Bhtzp2/ZeCPr47T0m2GGw60nRtJtqipfGHJ+mquQ9E8KKCk5cR3TZceSwazJFpdY9z0ErWDSvOC+8YhdsHgO9tXouxp27LPa6dF84MdxgjzLhJ53w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320188; c=relaxed/simple; bh=3hJv1C7S8XE7V4wMtaiW0cPgyCupiCP1W5fbV7VJQjY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nZ2/e0PpUiNBqKunWLjiWd9FKVw8sLLxZJasCXxzxW1aKYkklt9v/sH1qNNme5v4t2k06vJKzzqbb5BThcgdocTgM2+0nCY/fGFNvcEvk5MwmInngf3lOjPNSA0z98k5hcRkndu4ywKKcdxN/YeYpTYoum4AlF+XGaKpuia+MIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Yog491wT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AF2AC433B2; Sun, 24 Mar 2024 22:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320187; bh=3hJv1C7S8XE7V4wMtaiW0cPgyCupiCP1W5fbV7VJQjY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yog491wTlIH3yUioLBHQDIpkcclTG40CJt1NdNQgy1IHMkKUltqsww6QSEQDNTSnz 0AjAQ+/B6ellGMWRJbcIkDFZgLDbU675EJLe7KanPs4DjdqKloDIOcI1eQzlp+qF+k 4PntbUiGT799PthdYKvqu6z0/vpWG5cFUwtDX+ggLHvLNKlF7O44TMeF36E7aYAXtz zXdx2+Qd2WqsFHx4viLCSvRjaceqeicFGTRFNVorjVg3ccsCQnJoj/hLgESQpqT/jk TC44aO88fk81pJp9IsTrfXGNseMQ1ONrB91PthrmpGuOC71i7rjijjKWjOCa6LI7OM ziTmXJjF04YSQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Maxime Ripard , =?UTF-8?q?Ma=C3=ADra=20Canal?= , Sasha Levin Subject: [PATCH 6.8 495/715] drm/tests: helpers: Include missing drm_drv header Date: Sun, 24 Mar 2024 18:31:14 -0400 Message-ID: <20240324223455.1342824-496-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> 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 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Maxime Ripard [ Upstream commit 73984daf07a1a89ace8f0db6dd2d640654ebbbee ] We have a few functions declared in our kunit helpers header, some of them dereferencing the struct drm_driver. However, we don't include the drm_drv.h header file defining that structure, leading to compilation errors if we don't include both headers. Fixes: d98780310719 ("drm/tests: helpers: Allow to pass a custom drm_driver") Reviewed-by: MaĆ­ra Canal Signed-off-by: Maxime Ripard Link: https://patchwork.freedesktop.org/patch/msgid/20240222-kms-hdmi-connector-state-v7-1-8f4af575fce2@kernel.org Signed-off-by: Sasha Levin --- include/drm/drm_kunit_helpers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_kunit_helpers.h b/include/drm/drm_kunit_helpers.h index ba483c87f0e7b..3ae19892229db 100644 --- a/include/drm/drm_kunit_helpers.h +++ b/include/drm/drm_kunit_helpers.h @@ -3,6 +3,8 @@ #ifndef DRM_KUNIT_HELPERS_H_ #define DRM_KUNIT_HELPERS_H_ +#include + #include #include -- 2.43.0