[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170720155853.GD20712@nazgul.tnic>
Date: Thu, 20 Jul 2017 17:58:53 +0200
From: Borislav Petkov <bp@...en8.de>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
x86@...nel.org, tony.luck@...el.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 6/7] x86: therm_throt: constify attribute_group
structures.
On Thu, Jul 20, 2017 at 05:00:37PM +0530, Arvind Yadav wrote:
> attribute_group are not supposed to change at runtime. All functions
> working with attribute_group provided by <linux/sysfs.h> work with
> const attribute_group. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
> ---
> change in v2:
> Remove before/after size comparison from commit message.
>
> arch/x86/kernel/cpu/mcheck/therm_throt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This one and the next:
Acked-by: Borislav Petkov <bp@...e.de>
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
Powered by blists - more mailing lists