Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936566AbdGTP6u (ORCPT ); Thu, 20 Jul 2017 11:58:50 -0400 Received: from mail.skyhub.de ([5.9.137.197]:52160 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934668AbdGTP6t (ORCPT ); Thu, 20 Jul 2017 11:58:49 -0400 Date: Thu, 20 Jul 2017 17:58:53 +0200 From: Borislav Petkov To: Arvind Yadav Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, tony.luck@intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 6/7] x86: therm_throt: constify attribute_group structures. Message-ID: <20170720155853.GD20712@nazgul.tnic> References: <1500550238-15655-1-git-send-email-arvind.yadav.cs@gmail.com> <1500550238-15655-7-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1500550238-15655-7-git-send-email-arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 670 Lines: 23 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 work with > const attribute_group. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > 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 -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --