Re: [PATCH 4/7] drivers/counter: add local variable for newly allocated attribute_group**
From: Greg KH
Date: Mon Oct 09 2023 - 13:28:36 EST
On Mon, Oct 09, 2023 at 06:57:37PM +0200, Max Kellermann wrote:
> This allows the compiler to keep the pointer in a register and
> prepares for making the struct field "const".
Again, nothing about registers makes sense here.
thanks,
greg k-h