Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651266

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

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] kernel: mark all struct k_clock instances const
Date 2017-05-26 11:40 +0200
Message-ID <tLjSW-490-21@gated-at.bofh.it> (permalink)
References <tLjJg-44G-17@gated-at.bofh.it> <tLjJg-44G-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
---
$ 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

constify struct k_clock Christoph Hellwig <hch@lst.de> - 2017-05-26 11:30 +0200
  [PATCH 2/2] kernel: mark all struct k_clock instances const Christoph Hellwig <hch@lst.de> - 2017-05-26 11:30 +0200
    Re: [PATCH 2/2] kernel: mark all struct k_clock instances const Joe Perches <joe@perches.com> - 2017-05-26 11:40 +0200
      Re: [PATCH 2/2] kernel: mark all struct k_clock instances const Thomas Gleixner <tglx@linutronix.de> - 2017-05-26 12:40 +0200
        Re: [PATCH 2/2] kernel: mark all struct k_clock instances const Joe Perches <joe@perches.com> - 2017-05-26 18:20 +0200
    [tip:timers/core] posix-timers: Make posix_clocks immutable tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-05-26 13:10 +0200
    [tip:timers/core] posix-timers: Make posix_clocks immutable tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-05-26 14:50 +0200
    [tip:timers/core] posix-timers: Make posix_clocks immutable tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-05-26 14:50 +0200
    [tip:timers/core] posix-timers: Make posix_clocks immutable tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-05-27 10:00 +0200
  [PATCH 1/2] remove the SGI SN2 mmtimer driver Christoph Hellwig <hch@lst.de> - 2017-05-26 11:30 +0200
    [tip:timers/core] mmtimer: Remove the SGI SN2 mmtimer driver tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-05-26 13:10 +0200
      Re: [tip:timers/core] mmtimer: Remove the SGI SN2 mmtimer driver Joe Perches <joe@perches.com> - 2017-05-26 16:50 +0200

csiph-web