From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S971189AbdEZKdL (ORCPT ); Fri, 26 May 2017 06:33:11 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:40811 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S971176AbdEZKdH (ORCPT ); Fri, 26 May 2017 06:33:07 -0400 Date: Fri, 26 May 2017 12:32:45 +0200 (CEST) From: Thomas Gleixner To: Joe Perches cc: Christoph Hellwig , Dimitri Sivanich , Mike Travis , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] kernel: mark all struct k_clock instances const In-Reply-To: <1495791309.29207.24.camel@perches.com> Message-ID: References: <20170526090311.3377-1-hch@lst.de> <20170526090311.3377-3-hch@lst.de> <1495791309.29207.24.camel@perches.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-916506900-1495794765=:1902" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-916506900-1495794765=:1902 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Fri, 26 May 2017, Joe Perches wrote: > On Fri, 2017-05-26 at 12:03 +0300, Christoph Hellwig wrote: > > And initialize the array statically at compile time. Originally > > based on changes in the Grsecurity patch set, but redone for mainline > > to be slightly cleaner, and take the SGI mmtimer removal into account, > > which allows for a completely static initialization. > > Maybe add k_clock to scripts/const_structs.checkpatch Care to send a proper patch with changelog? > --- > $ git diff --stat -p scripts/const_structs.checkpatch >  scripts/const_structs.checkpatch | 1 + >  1 file changed, 1 insertion(+) > > diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch > index ac5f1267151d..b2a2316964a8 100644 > --- a/scripts/const_structs.checkpatch > +++ b/scripts/const_structs.checkpatch > @@ -25,6 +25,7 @@ irq_domain_ops >  item_operations >  iwl_cfg >  iwl_ops > +k_clock >  kgdb_arch >  kgdb_io >  kset_uevent_ops > --8323329-916506900-1495794765=:1902--