From patchwork Wed Nov 16 15:18:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13045414 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 9310DC433FE for ; Wed, 16 Nov 2022 15:18:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 48E6A10E4BE; Wed, 16 Nov 2022 15:18:40 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6247510E4BE for ; Wed, 16 Nov 2022 15:18:37 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E8E1232004CE; Wed, 16 Nov 2022 10:18:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 16 Nov 2022 10:18:36 -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=1668611915; x=1668698315; bh=rBfwRPMrSZla8fIVq3FfwXuML qmAOw2eEs2Ghka3rzI=; b=K7kePJnpikZE3m2MnSf0gsyplVc8eeYhsUKEKY1sB iU9Jvx+Z27NF4r65ROwB5xcKpeH9q3YFMOOtEIG7MpQW9s92bKyDUkNv7sgpKa2X c1mlZw4c60IFJ35sDMgd2UjZ4bCPqT65q0EiyMy0d46JfqauAJ1UeFV/C1JLjl0T 2g7jKAx8drjhH0XQrfneQVEPbBT7o39KqQPcL812qT10s+UVOkC4/3nAMH2eEabs x68AthkBb10FSIxQFzQW9zn6tsaD2CUTgB1m7eepbQ+9nBar3NyCjJnEVw++IJYj 4EjiRzUvmOWSr1qvSYuN5jNH07ZLjCyAqxu18pRbPkHvA== 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= 1668611915; x=1668698315; bh=rBfwRPMrSZla8fIVq3FfwXuMLqmAOw2eEs2 Ghka3rzI=; b=ulxicxaEk/BFhSOfCUwgR1KHlfGL6C/lVRCTEJfzPSrx63BqABz TF7HA/7FV3W8e7fcm2xGNx92Bv9HmqpjV/JfBGpxtOXnEKFtTz9Oi8P2tzlzbcZe hJlzrWME0bKadD56zUewXaSR5SsW12IpjYy0bC+aSKD2AbTNmyQQAKnQUxwcH9n0 KY6Y4GqatpS4uQQdIu8/HCfpccRBHuL/F4F/PUZ6RA9udmbZTWDnSTufDtBTHX+h /1g7YWQy1OdzOFGCMOkTfeYisGPzi261p+3t9vC/iVnBqSnyg8vHpQPzE4Nuttbw l4BKVQTFFYYIcXt/yxDF4JWq5WlLjU7Puug== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeeigdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepkeetudejieejfefhjeeutddugedtjeffffdvtedtieegkeffieelleegvefgvddv necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgi himhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Nov 2022 10:18:34 -0500 (EST) From: Maxime Ripard To: Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard Subject: [PATCH 1/2] drm/tests: client: Remove extra blank lines Date: Wed, 16 Nov 2022 16:18:32 +0100 Message-Id: <20221116151833.1679379-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: dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Some extra blank lines slipped through, remove them. Fixes: 8fc0380f6ba7 ("drm/client: Add some tests for drm_connector_pick_cmdline_mode()") Signed-off-by: Maxime Ripard Reviewed-by: Maíra Canal --- drivers/gpu/drm/tests/drm_client_modeset_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/tests/drm_client_modeset_test.c b/drivers/gpu/drm/tests/drm_client_modeset_test.c index 558c098b0384..362a5fbd82f5 100644 --- a/drivers/gpu/drm/tests/drm_client_modeset_test.c +++ b/drivers/gpu/drm/tests/drm_client_modeset_test.c @@ -53,7 +53,6 @@ static int drm_client_modeset_test_init(struct kunit *test) drm_connector_helper_add(&priv->connector, &drm_client_modeset_connector_helper_funcs); return 0; - } static void drm_test_pick_cmdline_res_1920_1080_60(struct kunit *test) @@ -85,7 +84,6 @@ static void drm_test_pick_cmdline_res_1920_1080_60(struct kunit *test) KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected_mode, mode)); } - static struct kunit_case drm_test_pick_cmdline_tests[] = { KUNIT_CASE(drm_test_pick_cmdline_res_1920_1080_60), {} From patchwork Wed Nov 16 15:18:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13045415 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 25584C4332F for ; Wed, 16 Nov 2022 15:19:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 53CB710E4C3; Wed, 16 Nov 2022 15:18:49 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id A761810E4C2 for ; Wed, 16 Nov 2022 15:18:41 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id EC8F932009A2; Wed, 16 Nov 2022 10:18:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 16 Nov 2022 10:18:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1668611919; x= 1668698319; bh=H8Ev9gOgQ4Fu5Dc8bd0wALmkvi/rIEehzdnnABcJR/g=; b=D yIjVPw4rkIJlAoIAfgKwHWVnQX5FiU+Q3BSnaQq+rTQUwR4H1y/n2l21dDbuMQf8 3O/C4YlAff/OtwGwXIB7E5PdBeAASZ0OaQ4CTc5a+Vj6I9fxLQ2njHhevc3x8vSW b5utOV84VO9oi5FNxEfrm1Fp51AY2cLhTq2+dcag6f77egEiTgua0EpU06VSS/G/ 0KJm8lAVOF84xD1jDttnBj2b1x053jtLAfbd8+uPOvpPwHq84QEgX0XJt67ttZTC BCIqBj/sVd3k3T5HP3u+2/Z6bV15yua6WjRiwN1nJtFcBuR3kIWKtkVe3JjtLzbP NHtYaodg2e4U7p0nhAMnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :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=1668611919; x= 1668698319; bh=H8Ev9gOgQ4Fu5Dc8bd0wALmkvi/rIEehzdnnABcJR/g=; b=Z DRkwkHb1x/vK6zu/RskIHlRq7L2RHIFBMq/ZxOsJpecv36oGbgzEWx3a4sSnsmjf 7uGmi84mB1Dr8hjOTYkKVrNaCORtZ9Fm7Cd52U+366BZLH3KqvLt4eIUt3PTD0JF sZdnRSEUjmS/+r9JSR+vYAuQ5ak3GAtiEQFkxvOVeG7dzevPDUkr5wjoil2JMpCe cGS4ZoSYpdnjvMeXLNsNCO3moDXkcLsB7Vou80PqtMnqsAGyODwGUFd/Yu4livad b4rQDXuWE6GRaHiTTgxWXh2DTOstQ/f2EwWS4iskt3MOUyuB9IYANfw9qk/+dwR7 ToeGI1uFA/S56/R7m79og== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeeigdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeeuieeggffhffffieefheduieeuvdetgeeufeffvefgtedvffehheekffev udefieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Nov 2022 10:18:39 -0500 (EST) From: Maxime Ripard To: Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard Subject: [PATCH 2/2] drm/tests: helpers: Add SPDX header Date: Wed, 16 Nov 2022 16:18:33 +0100 Message-Id: <20221116151833.1679379-2-maxime@cerno.tech> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221116151833.1679379-1-maxime@cerno.tech> References: <20221116151833.1679379-1-maxime@cerno.tech> 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: =?utf-8?q?Ma=C3=ADra_Canal?= , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The SPDX header is missing, let's add it and fix the corresponding checkpatch warning. Suggested-by: Maíra Canal Fixes: 44a3928324e9 ("drm/tests: Add Kunit Helpers") 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 eea450de7de8..f1662091f250 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 + #include #include