From mboxrd@z Thu Jan 1 00:00:00 1970 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 E1613C44530 for ; Fri, 17 Jul 2026 21:05:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8FBAB10F622; Fri, 17 Jul 2026 21:05:32 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=debian.org header.i=@debian.org header.b="N66YOktr"; dkim-atps=neutral Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9BA7C10E436; Fri, 17 Jul 2026 08:44:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description; bh=On0L/tUhVBCZkHcpg4iYUy0hWUVH8Ok6jsHQTKMmRd4=; b=N66YOktrtV+6V+16wEELIyghsT qd9ZhgIEex7fuSZ5Ej0bfE7aVb2og/BqNzyIzIO2QmGNWTIgJJY835686LzrFJbXtyA1gaYFhMQlp hy3SVjSrqjs4sttcnW4pJp2EehrtWDJZfjWxZQamqbJGmaew71niQBX5Aou/ejXzxwBJb5laRdPRk QXGGGqj+eBdkqHoCWrvoeXUgPjtPQvc8KeCi86ElcLPzchlXgsdVe4ng2V/pY4lhKeILYHJ0wQMNN QoFDU+R9ItAcUdgNMRKQKAdUeZzHmxsuD0gCJyYIiX4uZPhQ9NFUV311K787ZXFM8QZ4ynaXBeHGc c7AQNOWQ==; Received: from authenticated-user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1wkeAb-004TMi-30; Fri, 17 Jul 2026 08:43:46 +0000 Date: Fri, 17 Jul 2026 01:43:36 -0700 From: Breno Leitao To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= Cc: Andreas Hindborg , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Alice Ryhl , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , Onur =?utf-8?B?w5Z6a2Fu?= , Matthew Brost , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , Rodrigo Vivi , David Airlie , Simona Vetter , Dan Williams , "Rafael J. Wysocki" , Len Brown , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-coco@lists.linux.dev, linux-acpi@vger.kernel.org Subject: Re: [PATCH 5/6] configfs: Allow the registration of const struct configfs_attribute Message-ID: References: <20260716-configfs-const-base-v1-0-c545a4053cb5@weissschuh.net> <20260716-configfs-const-base-v1-5-c545a4053cb5@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260716-configfs-const-base-v1-5-c545a4053cb5@weissschuh.net> X-Debian-User: leitao X-Mailman-Approved-At: Fri, 17 Jul 2026 21:05:30 +0000 X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Thu, Jul 16, 2026 at 07:09:30PM +0200, Thomas Weißschuh wrote: > The attribute structure defined in driver code never need to be > modified. Allow them to be marked as const. > > As there are many drivers which use these attributes, prepare for a > phased transition by using a union of const and non-const attributes. How many drivers need to be migrated? Isn't this a mechanism move?