Message ID | 20240909070742.75425-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=VPks3BpI; 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=EkX5JFH1; 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 4X2HxS22wRz1y1p for <incoming@patchwork.ozlabs.org>; Mon, 9 Sep 2024 17:08:44 +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=VPks3BpI0awZxl tQVIL1g04P/+Ig0+HA7hl40LbcVFWQx3Mp4EnaPnYgIU/M6XZJbwebLJF5tgmJpPKIkkWXT+qaHwK ByBK8B4aac25MgiUVYCVxoxvZQc1VxLv4Ry5dtQZ81rlnuG6KBVYVUzxzyvwnXWej0cajjTjIcUCm l1yTqTO5pbbEUNfSwWVmkUILLnbldRrmPqt7FrG2d6gIfe3I/LCAcjJK2mGnPyspRJrah3JrJi3YM sq50U0x2rHPgXfo9HQMzpD8M/CvLmsr7/xDKhDeogRoStD40prD4Hys4JOw8SOH+Xgw0VjKFh+GoM uyuvevCttEktPalffqDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1snYVe-00000000jVn-3Z4s; Mon, 09 Sep 2024 07:08:26 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1snYVZ-00000000jRM-3Sed for linux-mtd@lists.infradead.org; Mon, 09 Sep 2024 07:08:23 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-374c4c6cb29so3589815f8f.3 for <linux-mtd@lists.infradead.org>; Mon, 09 Sep 2024 00:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725865700; x=1726470500; 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=EkX5JFH1Y8QBk7gxL0zNo2YdkY/vbr+jgMsUKa1cXzfNmibmpOf2gTje3MP2c28VW3 i0U9acaM/qBs92N46+ysXMoS+S0JNqyxCQ0pS3RllOUNSMXfySuatnmAtk03AdNwxfYD OpqKjdx96M7UY0/npxyF5inclrCPeedcWFRj/cxj/wx5Yaic8rMLzeOSselZZN4EuOi9 Pty4NIY2NwQxxPxk2OXLKSOGwgoI/Uc+2kyjQwonXET8HZ34FucsCBI04bK+7SL9dbTX sHNFJ4gwgYKMhLKWSjYCQLQhF4w9QRp+jB6wCykk43ckj3nO0XYwdlUBzGChiDqmQ4kI vWEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725865700; x=1726470500; 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=rHs3sJkcspN0dAbtniaPzoZEKM4JYyLJ4z4g0QcErP0piSfd0ch890GXH/u/HQVQ6y NZLzxHVebiKGzwyONHKiTPQHj+74aEjxOa6l5r7pd7vI1bYT1lE0sAsAwbZgOmQloqS5 2VJH28X/gjjPe5dMJMFL0UPBVAHFH+ss50UJ5YSG1avsKelHFQwZt7TPyw42vBVRc+w+ kNqgOssoIgInaGCtvw1sJDaGtfRPfkNhQ5tp7nYkk8iLt2fdkhdjJzVIL+5GcRp0luko bgU3fzWHadnOZ551XlBhDvAu6Y7CqusqUFQWiKjt8XHwHt0ugJJN1JRH/n+I8+rnJ5bt 5+kw== X-Forwarded-Encrypted: i=1; AJvYcCUqLzpa25YD5+CjYGGc8FpOuQw59P28OvC/KWFrC/MWZ573PHPcCDjPhKp+52bNL24KoZNZxeJhfZk=@lists.infradead.org X-Gm-Message-State: AOJu0YxCn1voS+OZyK6z+k7Nhxg71F+wspqY5N57hzR8qo2clMEcl5Fn ixy8o8FOQ2cwL2VvTgTIEdugD3bP45T6KVcml1oOOTBpsOqE/Xus X-Google-Smtp-Source: AGHT+IHMxHViAQuYhY7LbiGTRSQjuSO1CzAuIEbDmKQ7N1Z92ayMooKBy6B84PbIuJbIoGvJODw6LA== X-Received: by 2002:adf:f4c2:0:b0:374:cb5c:2956 with SMTP id ffacd0b85a97d-3789243fd67mr6064910f8f.40.1725865699969; Mon, 09 Sep 2024 00:08:19 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956d375asm5178754f8f.66.2024.09.09.00.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 00:08:19 -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 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 v2 03/19] drm/i915/selftests: Include <linux/prandom.h> instead of <linux/random.h> Date: Mon, 9 Sep 2024 09:05:17 +0200 Message-ID: <20240909070742.75425-4-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240909070742.75425-1-ubizjak@gmail.com> References: <20240909070742.75425-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_000821_909915_A05D43E6 X-CRM114-Status: GOOD ( 13.33 ) 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:431 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_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_VALID Message has at least one valid DKIM or DK signature 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"