From patchwork Wed Nov 16 09:17:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13044576 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 9D515C433FE for ; Wed, 16 Nov 2022 09:17:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8905C10E44E; Wed, 16 Nov 2022 09:17:25 +0000 (UTC) Received: from out2-smtp.messagingengine.com (unknown [66.111.4.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id CF90D10E44C for ; Wed, 16 Nov 2022 09:17:21 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5C08A5C0151; Wed, 16 Nov 2022 04:17:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 16 Nov 2022 04:17:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1668590237; x=1668676637; bh=MCvPBYbjxykSnjdfqUtaIxnpE 1B6yqqF7GXfuyGvVOI=; b=dO/v0G3wJ8TREFwtdS1CDz3bKPHvIqpmc3GtXX/fq 3dDT5mnZ3Ng3zriziW+FVjmrlZzIEH8GVXALhg2T3CtS9fpr0P4y1BYfQdJN7uCe lzXiYYDeRqcVWBBwyXfog0SFXO86EvvGbD7qMVmntb6+IZd8W1zLrZ7F2J6+TFs9 qDCTA0zYDwleITAF7aLQbqUpQCUkGNP1++Kl91SvpX68aDJ7rD3XSZh0O95uL6jM xnMoxBSKakLo9bdEDwllaYJP7vgyn+K2cjD86CqlkO0XPYUcWsoceyZsVoyl8s7A MYQMulYXC+7KPQRifCB4yhZFioMpxEko/4JdmN5koF6bA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1668590237; x=1668676637; bh=MCvPBYbjxykSnjdfqUtaIxnpE1B6yqqF7GX fuyGvVOI=; b=nPLgsbc+B49vRy2dxVrxPDnqox7ZyDozmKjSCQIrTANbMAawYYi cd3+8ni5Q4IBIEUMH/0Er8BBLOroMEZJibkccb31d5M6mdjIj2yTA6U4i41q0KLg pGFD2Kjj6jLlobZGM2WnLaIVi+DlVIWsCcoT3ylPSWOXZkT575tZTwdA47QbAjOr MdNnzsIpWj7FDmdF5aTo9gh1TNZzW0Mprzcwr8gIcAh3AmdK3vRiM3s6oMPsIwkC XoIe8w6rGOnrDz2EC+ng81QyWFDLysDfxh7UxIKWA+RFHCQv7RMCXZK5VC3i5FWc Xgfo9H7rUfvRZQg5RVmjryaKAakAaHUzCmg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeehgdduvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeektedujeeijeefhfejuedtudegtdejffffvdettdeigeekffeileelgeevgfdv vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Nov 2022 04:17:15 -0500 (EST) From: Maxime Ripard To: Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Florian Fainelli Subject: [PATCH 1/3] drm/tests: Include helpers header Date: Wed, 16 Nov 2022 10:17:10 +0100 Message-Id: <20221116091712.1309651-1-maxime@cerno.tech> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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: , Cc: bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, kernel test robot Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The kunit helpers code weren't including its header, leading to a warning that no previous prototype had been defined for public functions. Include the matching header to fix the warning. Fixes: 44a3928324e9 ("drm/tests: Add Kunit Helpers") Reported-by: kernel test robot Signed-off-by: Maxime Ripard Reviewed-by: MaĆ­ra Canal --- drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c index d3f0d681b685..dbd8ec24d4be 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -5,6 +5,8 @@ #include +#include "drm_kunit_helpers.h" + struct kunit_dev { struct drm_device base; };