From patchwork Mon Sep 30 12:33:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13816431 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 793F2CE8343 for ; Mon, 30 Sep 2024 13:31:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6180010E4CA; Mon, 30 Sep 2024 13:30:59 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T5Ts9TI6"; dkim-atps=neutral Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by gabe.freedesktop.org (Postfix) with ESMTPS id 81EBC10E43B; Mon, 30 Sep 2024 12:37:35 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-42cbe624c59so34210055e9.3; Mon, 30 Sep 2024 05:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727699854; x=1728304654; 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=4mtn3Z+z0ZXxXMNcR2ig5e/IN1sKqO9BkR2/07EQmxE=; b=T5Ts9TI6Ieb3iD562a95rq0fH/qT959MbOGRDFDhCJtzwg+48xMNNKIsCGcrRQD9bt 095/oPml0secWeMp085H0ApT36eiKw4HSEVPtDROt6QyXR1buqG5Y04aCllkcoZ8KjnU D3tuX8Hk6HJW0+hmgNENYAOqkOxamS+Ps66cqDDras+7kMyf21OLZqMwUcOWhoU0gSPy +zzumzUb0BTQq0cbatYKzhEtgKi4Bn4MljqAvBgJvYj1XPN7Br+zt3SLRi3uHGTUOXbB tsCraPOoXI9wCyVpHEq3EKwoikFyhZEW4gNZrqZvPIhdhrWy6qJ7Vy3mbVwIUBqIzZZB uyWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727699854; x=1728304654; 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=4mtn3Z+z0ZXxXMNcR2ig5e/IN1sKqO9BkR2/07EQmxE=; b=cgoBsJT5/z7E8Q5I4qqxZSKDbs0GlM7hNbQnJW4Y8iT9U9RAkn6mjIaO2rvos9Q4cS aZ7s5sQaj2EOT0OJGvPc1Y4OYCLICF/3dxaXR3Worn/QgADl+zuoRUurGP8rvCNanosX zXkCo6BA5r9L7OtPyi6G2W4PuEffisw9NeTApietMxlcjWwLIW8RIA+6mcZlWoRJnL3B BOhKfoG93C/xaGyZIgtWjJkRQ5QBOOTbtxFYihw3PBYl4lbBmCnMy0zWwrYTO9M1ohWM 5/NcKg5TdWnWN7OhA/rH3dpGqNAEtmVPwd9pZ5BHxcdiVJWylp3k474o07YaidWFLpCF SCxA== X-Forwarded-Encrypted: i=1; AJvYcCUtr8iwOTJuM3dZkl2pYyHf/xxPuGCN7qcZ3+01RWukSXt92YfYS/v0oLVOUS1THLettqGrfHn6aa0h@lists.freedesktop.org, AJvYcCWp3Y34TDuhQ7jmOLvGP31VeXCbU8VuqDRv38y8PqIEBQSL+HMEAPijnikD8ZOFcMKu3vfZzEWtm1E=@lists.freedesktop.org X-Gm-Message-State: AOJu0Ywxis2W5vz7Uy26qerruXMXiEZtpv31JrZ8X1b0I4YcuUFbNHho zkSZWGhgqIhx5eVo9mV6AfC6r+Ljytg53jd4qad16oTwigke8gUM X-Google-Smtp-Source: AGHT+IHR5GBV9Sk+AH/yXxWplf7Dccbv713xjj5lLaRHbnIJlkBTu8kMh1LwOxClCDrwdMW16rb5Wg== X-Received: by 2002:a05:600c:4e86:b0:42c:bb75:4f86 with SMTP id 5b1f17b1804b1-42f58498ba3mr80097165e9.32.1727699853769; Mon, 30 Sep 2024 05:37:33 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e96a52308sm149011355e9.43.2024.09.30.05.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 05:37:32 -0700 (PDT) From: Uros Bizjak 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 , "Theodore Ts'o" , "Jason A. Donenfeld" , Linus Torvalds Subject: [PATCH v3 18/19] random: Do not include in Date: Mon, 30 Sep 2024 14:33:29 +0200 Message-ID: <20240930123702.803617-19-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20240930123702.803617-1-ubizjak@gmail.com> References: <20240930123702.803617-1-ubizjak@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 30 Sep 2024 13:30:58 +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" Files that use prandom infrastructure are now converted to use header instead of . Remove the legacy inclusion of from . This is the "nice cleanup" part, wished in c0842fbc1b18. Signed-off-by: Uros Bizjak Fixes: c0842fbc1b18 ("random32: move the pseudo-random 32-bit definitions to prandom.h") Cc: "Theodore Ts'o" Cc: "Jason A. Donenfeld" Cc: Linus Torvalds --- include/linux/random.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/linux/random.h b/include/linux/random.h index b0a940af4fff..333cecfca93f 100644 --- a/include/linux/random.h +++ b/include/linux/random.h @@ -145,13 +145,6 @@ declare_get_random_var_wait(u64, u32) declare_get_random_var_wait(long, unsigned long) #undef declare_get_random_var -/* - * This is designed to be standalone for just prandom - * users, but for now we include it from - * for legacy reasons. - */ -#include - #ifdef CONFIG_SMP int random_prepare_cpu(unsigned int cpu); int random_online_cpu(unsigned int cpu);