All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] constify char attribute_group structures
@ 2017-08-02 11:19 Arvind Yadav
  2017-08-02 11:19 ` [PATCH 1/3] char: tlclk: constify " Arvind Yadav
  2017-08-02 17:56 ` [PATCH 0/3] constify char " Gross, Mark
  0 siblings, 2 replies; 6+ messages in thread
From: Arvind Yadav @ 2017-08-02 11:19 UTC (permalink / raw)
  To: arnd, gregkh, mark.gross; +Cc: linux-kernel

attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by <linux/sysfs.h> work with
const attribute_group. So mark the non-const structs as const.

Arvind Yadav (3):
  [PATCH 1/3] char: tlclk: constify attribute_group structures.
  [PATCH 2/3] char: tpm: constify attribute_group structures.
  [PATCH 3/3] char: virtio: constify attribute_group structures.

 drivers/char/tlclk.c          | 2 +-
 drivers/char/tpm/tpm_ppi.c    | 2 +-
 drivers/char/virtio_console.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-03 12:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 11:19 [PATCH 0/3] constify char attribute_group structures Arvind Yadav
2017-08-02 11:19 ` [PATCH 1/3] char: tlclk: constify " Arvind Yadav
2017-08-02 18:15   ` Gross, Mark
2017-08-02 17:56 ` [PATCH 0/3] constify char " Gross, Mark
2017-08-03  5:34   ` Arvind Yadav
2017-08-03 12:37     ` Gross, Mark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.