Message ID | 20240909075641.258968-4-ubizjak@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=IqgMAWne; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=fvGZ6el1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X2LQL3bqZz1y1D for <incoming@patchwork.ozlabs.org>; Mon, 9 Sep 2024 19:00:26 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3SIf5u4uU7SUFdKvtIOqo4G4ljvMlDiMykhrjw1ntlQ=; b=IqgMAWnehOV0ZD ZSqpsc2xctX/vAMftZS8pWnnmIgMNc/Q8tGuGtViFkibnzQ0YK1xG9epgbxRJUf9BvHQBvGF/HWsN c/Wdrfyz6dqAjq9tcqxATm9Eb7VxLQX9jNXd0LzvFWr3cTlyfGc2mMy0txvs3oQ71f7DJYQkmeAxo eAridH+i7BghEGpsoKujsGinvis0s6HM5B2vVe0xyhyM/NQzWDpWh6zsRlX2uXhk2RhEJqNz/EHLm iYAMOXgpq4oHqhbfpVuz29ypy5l56jale/mznySzGQbMA4hjOgLuHk86fl7VhAjchYl9N6ps8BFJw d4L4aZHbuO9i9eQpxhlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1snaFu-00000001DTN-3Uuz; Mon, 09 Sep 2024 09:00:18 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1snZGY-00000000vzr-1twb for linux-mtd@lists.infradead.org; Mon, 09 Sep 2024 07:56:56 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-42cb7a2e4d6so6249565e9.0 for <linux-mtd@lists.infradead.org>; Mon, 09 Sep 2024 00:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725868612; x=1726473412; darn=lists.infradead.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=14qfBrUBkIolMsRSnhXU/v/JiTjLcMYNIcdp3nVnQBY=; b=fvGZ6el1MBM9yVxaWdrh/Ow1k+hVG/kt0P6U3cHrjnqP1dbRnWR0wU0rymppsrqDPv dn12CXgfoyJVpizYXbIZ1LTgkdWVg+qLwgW4MCfp9DLBJdHFi8nChtmnWuNLdGsuKzCW 1pFOGjBrzqYt0KIbC2uvpVp6mvttuDkpUGBewj6o6MCxJu+Yo8+dbJS4SQCDPpIp8FGz 56A9WYL7msfbSZQNtUk3XuYbbaCcZono3rvMHb2hd89+zv9LfKdZN+W2BcpRCSORQVS7 u92aKgTPHrxpBGx6AJXS3i7GUvIoVknJ1ioPlwV1sWvCKtPrGWZWfHHBEcp6ntlWeD80 2/Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725868612; x=1726473412; 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=14qfBrUBkIolMsRSnhXU/v/JiTjLcMYNIcdp3nVnQBY=; b=b+Jhx+9lbPtS/UiqzY5HNOgvWjuEyKTjNn1RU2mAk+kM1kt7NL7PZDCYKpUqQDg5Oh uT+87IFlk8r8qpgMpKJ2Yqm3G8ggpXVrP6B9FG5/KorkFtFtSVYhtC6uh2uHALIQgb45 gx7xlWhXEqzLrDvmhdPBtNg4i6X4+CKJe9dVP/Msj9TXokB4M0ltl59qySjNF+eL6Xzv Eof0eVBYPZQZRVVao7imbQ4RdneQeWDJX46dtUVxwYqKJgQbaGRi4teVrVA0ONi7qLQP JzNbpE7WSzrns3PwsnAT2pepUmfU+aKvpI8vjYEY8mu3dVn7YQcJmHhX1vI0thqD7mbN kDjQ== X-Forwarded-Encrypted: i=1; AJvYcCVhDH/865YG/5EbyW2+OZ68rVDq3FIEW+IKw1S4JTSCSAFPGOo2OgcM4BjJLwOK9kMHIgq3XPbyHc4=@lists.infradead.org X-Gm-Message-State: AOJu0YzsFrcaAw3wU0jz09V8fzG0m1zylN21GQ2TEySnBcdF+chtWT+X 8BwdD65k31QK9vBjSywEWXRRiM9hEGm3IAJlfGDlbvAhZqf5Dh1U X-Google-Smtp-Source: AGHT+IESGKS/b/3I+SBf3rTXq+UoAQ/sBaFO4c/YOVV0ofXN+ihvCL604F2/r2duzQEowocOYCixTA== X-Received: by 2002:a05:600c:17d4:b0:42c:b16e:7a22 with SMTP id 5b1f17b1804b1-42cb16e7addmr29272525e9.12.1725868612166; Mon, 09 Sep 2024 00:56:52 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37895675b7esm5303001f8f.50.2024.09.09.00.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 00:56:51 -0700 (PDT) From: Uros Bizjak <ubizjak@gmail.com> To: x86@kernel.org, linux-crypto@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linux-fscrypt@vger.kernel.org, linux-scsi@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Cc: Uros Bizjak <ubizjak@gmail.com>, Jani Nikula <jani.nikula@linux.intel.com>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tursulin@ursulin.net>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> Subject: [PATCH RESEND v2 03/19] drm/i915/selftests: Include <linux/prandom.h> instead of <linux/random.h> Date: Mon, 9 Sep 2024 09:53:46 +0200 Message-ID: <20240909075641.258968-4-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240909075641.258968-1-ubizjak@gmail.com> References: <20240909075641.258968-1-ubizjak@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_005654_515249_0A1F171E X-CRM114-Status: GOOD ( 13.32 ) X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Substitute the inclusion of <linux/random.h> header with <linux/prandom.h> to allow the removal of legacy inclusion of <linux/prandom.h> from <linux/random.h>. Signed-off-by: Uros Bizjak Acked-by: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/i915/selftests/i915_gem.c [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:330 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ubizjak(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
random: Resolve circular include dependency and include <linux/percpu.h>
|
expand
|
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 <linux/random.h> +#include <linux/prandom.h> #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 <linux/math64.h> -#include <linux/random.h> +#include <linux/prandom.h> #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 <linux/prime_numbers.h> -#include <linux/random.h> +#include <linux/prandom.h> #include "i915_selftest.h" #include "i915_utils.h"