From patchwork Thu Sep 5 12:17:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13796904 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 897BFECE584 for ; Mon, 9 Sep 2024 12:37:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9737510E51E; Mon, 9 Sep 2024 12:36:57 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="SowfaliC"; dkim-atps=neutral Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D38710E877; Thu, 5 Sep 2024 12:20:30 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42c94e59b93so10324675e9.1; Thu, 05 Sep 2024 05:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538829; x=1726143629; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iD7NTe7bgmL4j+ZOUWe6Vz/irb7OPA4CTAynHWYcSvE=; b=SowfaliC2MfMuxp0NkhOE+F6aP+TKwSFcbyGFEDDZHm3IWu8SqgoXU+HXnYGOjI6p0 yOiYi3MOnUDidmZuo9tVGNT0KHP+JkzxKtNetanlJnM9QWAxjRLMcnd0ZBhpJ1+f0vCu HWHyU3pqNVEfLHETOxjXHDLN+ZMgmcBZfQVuGIIfd5dtkdjjLDxNkSPUKY8TKToowzVo UnJEwfJpx65v2ilMGgBmc78N8lkrJocc3GTtBEktVZQYUZhCaqTWVpdCmWLBfdhkqGCY 98xyy542uzQUZziR1Yd95tUxfbshNLdu7I7jMXDoZygCBT36EetLzBoq7qmaaJbMjtos 0Elw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538829; x=1726143629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iD7NTe7bgmL4j+ZOUWe6Vz/irb7OPA4CTAynHWYcSvE=; b=D2UixaVsXezn79iTuvyt9rPlit7+0bi+5xp0QqDrfJbQzrxlfD3XihK8BcMrvckr7e 17m+J0HlontXBfWH1BrrgzpiU/6WB0XRozj9dg1t55q/dLvFSPYb6sB+vBL3CB9U0e/7 nR9qv2ctvfNrq0NAAirsqCbWrClY+CMDcXIqetqdZHRzceKFerqULQh9g0RbCRKho/2/ Ij0+Q9RVkPKkxFzguVgOC9yPkwHgkdnfibZeHQrQfg6wUut048VGSgSFL5szpibWiRqi a7OlXUp6jSGcmC6KCWOOVXD35+HBNZXpAgJzFKO7YxL8r8nghIDOr8eOzGu0z8FPw0xN LJzA== X-Forwarded-Encrypted: i=1; AJvYcCUSSzhXSasoJyyYkrjjJjPPw7UEVwdFBRcmBZ786Idq6jPB05xO4GABzYbTKvzgGHNlFlSQbqSjWy99@lists.freedesktop.org, AJvYcCXkS1D2ltNFK00Qh620a/FZNzE/LsBDhGrVN53LcjQsne52reCCB8WPeGzQXYMNTWuJI0tdnlT/atM=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yzpf9sGxR3TK+NO+8na0hB7/WbO8Y41lIH0tGbNzKGi02egYq52 eQyknTdm57l9O64KiazVopyQb53AzgYOxKDTnuoHLSPeXAe+40+i X-Google-Smtp-Source: AGHT+IHa0fVf6EKsDAw+gxmmQXJ6NX7kn1nNvzKP1vs+nY3qqO/a3JqoKC8nQD5litjqwafLqGt1BQ== X-Received: by 2002:a5d:464a:0:b0:374:bf6b:1021 with SMTP id ffacd0b85a97d-3779bd1864fmr3502807f8f.27.1725538828407; Thu, 05 Sep 2024 05:20:28 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:27 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 02/18] drm/i915/selftests: Include instead of Date: Thu, 5 Sep 2024 14:17:10 +0200 Message-ID: <20240905122020.872466-3-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 09 Sep 2024 12:36:55 +0000 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Usage of pseudo-random functions requires inclusion of header instead of . Signed-off-by: Uros Bizjak Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: David Airlie Cc: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/i915/selftests/i915_gem.c | 2 +- drivers/gpu/drm/i915/selftests/i915_random.h | 2 +- drivers/gpu/drm/i915/selftests/scatterlist.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/selftests/i915_gem.c b/drivers/gpu/drm/i915/selftests/i915_gem.c index 61da4ed9d521..0727492576be 100644 --- a/drivers/gpu/drm/i915/selftests/i915_gem.c +++ b/drivers/gpu/drm/i915/selftests/i915_gem.c @@ -4,7 +4,7 @@ * Copyright © 2018 Intel Corporation */ -#include +#include #include "gem/i915_gem_internal.h" #include "gem/i915_gem_pm.h" diff --git a/drivers/gpu/drm/i915/selftests/i915_random.h b/drivers/gpu/drm/i915/selftests/i915_random.h index 05364eca20f7..70330a2e80f2 100644 --- a/drivers/gpu/drm/i915/selftests/i915_random.h +++ b/drivers/gpu/drm/i915/selftests/i915_random.h @@ -26,7 +26,7 @@ #define __I915_SELFTESTS_RANDOM_H__ #include -#include +#include #include "../i915_selftest.h" diff --git a/drivers/gpu/drm/i915/selftests/scatterlist.c b/drivers/gpu/drm/i915/selftests/scatterlist.c index 805c4bfb85fe..7e59591bbed6 100644 --- a/drivers/gpu/drm/i915/selftests/scatterlist.c +++ b/drivers/gpu/drm/i915/selftests/scatterlist.c @@ -22,7 +22,7 @@ */ #include -#include +#include #include "i915_selftest.h" #include "i915_utils.h"