From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S943959AbdEZQJx (ORCPT ); Fri, 26 May 2017 12:09:53 -0400 Received: from smtprelay0209.hostedemail.com ([216.40.44.209]:52298 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752402AbdEZQJq (ORCPT ); Fri, 26 May 2017 12:09:46 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:2890:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3870:3871:4042:4250:4321:5007:9389:10004:10400:10848:11232:11658:11914:12043:12740:12760:12895:13069:13161:13229:13311:13357:13439:14659:14721:21080:21434:21450:21627:30001:30054:30083:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: juice41_8f38ea0aa183d X-Filterd-Recvd-Size: 1592 Message-ID: <1495814982.29207.35.camel@perches.com> Subject: Re: [PATCH 2/2] kernel: mark all struct k_clock instances const From: Joe Perches To: Thomas Gleixner Cc: Christoph Hellwig , Dimitri Sivanich , Mike Travis , linux-kernel@vger.kernel.org Date: Fri, 26 May 2017 09:09:42 -0700 In-Reply-To: References: <20170526090311.3377-1-hch@lst.de> <20170526090311.3377-3-hch@lst.de> <1495791309.29207.24.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2017-05-26 at 12:32 +0200, Thomas Gleixner wrote: > 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? After Christoph's patch is in -next so I can reference the proper commit SHA1.