[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1705261232250.1902@nanos>
Date: Fri, 26 May 2017 12:32:45 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Joe Perches <joe@...ches.com>
cc: Christoph Hellwig <hch@....de>,
Dimitri Sivanich <sivanich@....com>,
Mike Travis <mike.travis@....com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] kernel: mark all struct k_clock instances const
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
>
Powered by blists - more mailing lists