Re: [PATCH 2/2] kernel: mark all struct k_clock instances const

From: Joe Perches
Date: Fri May 26 2017 - 12:16:59 EST


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.