[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025071506-bundle-fondling-6a94@gregkh>
Date: Tue, 15 Jul 2025 16:54:26 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: "Meng-Shao.Liu" <sau525@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] samples/kobject: make attribute_group const
On Tue, Jul 15, 2025 at 10:30:35PM +0800, Meng-Shao.Liu wrote:
> The attr_group structures are allocated once and never modified at
> runtime. Also to match the const‑qualified parameter of
> sysfs_create_group().
>
> No functional change.
This line isn't needed, as there is a functional change, it moves it
into read-only memory, right?
thanks,
greg k-h
Powered by blists - more mailing lists