All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] simplify configfs attributes
@ 2015-09-25 13:49 ` Christoph Hellwig
  0 siblings, 0 replies; 162+ messages in thread
From: Christoph Hellwig @ 2015-09-25 13:49 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This series consolidates the code to implement configfs attributes
by providing the ->show and ->store method in common code and using
container_of in the methods to access the containing structure.

This reduces source and binary size of configfs consumers a lot.



^ permalink raw reply	[flat|nested] 162+ messages in thread
* [Cluster-devel] simplify configfs attributes V2
@ 2015-10-03 13:32 Christoph Hellwig
  2015-10-03 13:32 ` [Cluster-devel] [PATCH 17/23] dlm: use per-attribute show and store methods Christoph Hellwig
  0 siblings, 1 reply; 162+ messages in thread
From: Christoph Hellwig @ 2015-10-03 13:32 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This series consolidates the code to implement configfs attributes
by providing the ->show and ->store method in common code and using
container_of in the methods to access the containing structure.

This reduces source and binary size of configfs consumers a lot.

Changes since V1:
 - a couple fixes for unintended changes in the uvc driver
 - moved a few CONFIG_ATTR() statements around
 - fixed up the documentation and samples in the last patch
 - added a little rather pointless blurb to the patch description for
   various patches



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

end of thread, other threads:[~2015-10-03 13:32 UTC | newest]

Thread overview: 162+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-25 13:49 [Cluster-devel] simplify configfs attributes Christoph Hellwig
2015-09-25 13:49 ` Christoph Hellwig
2015-09-25 13:49 ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 13:49 ` [Cluster-devel] [PATCH 01/23] configfs: add show and store methods to struct configfs_attribute Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 14:28   ` [Cluster-devel] " Tejun Heo
2015-09-25 14:28     ` Tejun Heo
2015-09-25 17:41     ` [Cluster-devel] " Greg KH
2015-09-25 17:41       ` Greg KH
2015-09-25 17:41       ` [Ocfs2-devel] " Greg KH
2015-09-26 23:38   ` [Cluster-devel] " Nicholas A. Bellinger
2015-09-26 23:38     ` Nicholas A. Bellinger
2015-09-25 13:49 ` [Cluster-devel] [PATCH 02/23] usb-gadget: use per-attribute show and store methods Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-27 15:47   ` [Cluster-devel] " Felipe Balbi
2015-09-27 15:47     ` Felipe Balbi
2015-09-28 13:33     ` [Cluster-devel] " Christoph Hellwig
2015-09-28 13:33       ` Christoph Hellwig
2015-09-28 13:33       ` [Ocfs2-devel] " Christoph Hellwig
2015-10-01 17:23       ` [Cluster-devel] " Felipe Balbi
2015-10-01 17:23         ` Felipe Balbi
2015-09-27 15:50   ` [Cluster-devel] " Felipe Balbi
2015-09-27 15:50     ` Felipe Balbi
2015-09-28 13:35     ` [Cluster-devel] " Christoph Hellwig
2015-09-28 13:35       ` Christoph Hellwig
2015-09-28 13:35       ` [Ocfs2-devel] " Christoph Hellwig
2015-09-30 16:19       ` [Cluster-devel] " Felipe Balbi
2015-09-30 16:19         ` Felipe Balbi
2015-09-30 16:20         ` [Cluster-devel] " Tejun Heo
2015-09-30 16:20           ` Tejun Heo
2015-09-30 16:32           ` [Cluster-devel] " Felipe Balbi
2015-09-30 16:32             ` Felipe Balbi
2015-09-30 16:35             ` [Cluster-devel] " Tejun Heo
2015-09-30 16:35               ` Tejun Heo
2015-09-30 16:43               ` [Cluster-devel] " Felipe Balbi
2015-09-30 16:43                 ` Felipe Balbi
2015-09-30 16:59                 ` [Cluster-devel] " Tejun Heo
2015-09-30 16:59                   ` Tejun Heo
2015-09-28 10:54   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 10:54     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 03/23] usb-gadget/uvc: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:35   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:35     ` Andrzej Pietrasiewicz
2015-09-28 13:39     ` [Cluster-devel] " Christoph Hellwig
2015-09-28 13:39       ` Christoph Hellwig
2015-09-28 13:39       ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 13:49 ` [Cluster-devel] [PATCH 04/23] usb-gadget/f_hid: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:37   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:37     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 05/23] usb-gadget/f_acm: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:39   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:39     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 06/23] usb-gadget/ether: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:40   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:40     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 07/23] usb-gadget/f_loopback: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:46   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:46     ` Andrzej Pietrasiewicz
2015-09-28 13:41     ` [Cluster-devel] " Christoph Hellwig
2015-09-28 13:41       ` Christoph Hellwig
2015-09-28 13:41       ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 13:52       ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 13:52         ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 08/23] usb-gadget/f_midi: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:47   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:47     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 09/23] usb-gadget/f_printer: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:50   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:50     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 10/23] usb-gadget/f_sourcesink: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:51   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:51     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 11/23] usb-gadget/f_mass_storage: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:53   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:53     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 12/23] usb-gadget/f_ac1: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:56   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:56     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 13/23] usb-gadget/f_uac2: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:56   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:56     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 14/23] usb-gadget/f_obex: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:57   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:57     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 15/23] usb-gadget/f_phonet: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:59   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:59     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 16/23] usb-gadget/f_serial: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 11:59   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 11:59     ` Andrzej Pietrasiewicz
2015-09-25 13:49 ` [Cluster-devel] [PATCH 17/23] dlm: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 14:49   ` [Cluster-devel] " David Teigland
2015-09-28 14:49     ` David Teigland
2015-09-28 14:49     ` [Ocfs2-devel] [Cluster-devel] " David Teigland
2015-09-25 13:49 ` [Cluster-devel] [PATCH 18/23] spear13xx_pcie_gadget: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 13:49 ` [Cluster-devel] [PATCH 19/23] target: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-26 23:35   ` [Cluster-devel] " Nicholas A. Bellinger
2015-09-26 23:35     ` Nicholas A. Bellinger
2015-09-25 13:49 ` [Cluster-devel] [PATCH 20/23] netconsole: " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 13:49 ` [Cluster-devel] [PATCH 21/23] ocfs2/cluster: move locking into attribute " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 13:49 ` [Cluster-devel] [PATCH 22/23] ocfs2/cluster: use per-attribute show and " Christoph Hellwig
2015-09-25 13:49   ` Christoph Hellwig
2015-09-25 13:49   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 13:50 ` [Cluster-devel] [PATCH 23/23] configfs: remove old API Christoph Hellwig
2015-09-25 13:50   ` Christoph Hellwig
2015-09-25 13:50   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 12:06   ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 12:06     ` Andrzej Pietrasiewicz
2015-09-28 13:42     ` [Cluster-devel] " Christoph Hellwig
2015-09-28 13:42       ` Christoph Hellwig
2015-09-28 13:42       ` [Ocfs2-devel] " Christoph Hellwig
2015-09-25 13:57 ` [Cluster-devel] simplify configfs attributes Christoph Hellwig
2015-09-25 13:57   ` Christoph Hellwig
2015-09-25 13:57   ` [Ocfs2-devel] " Christoph Hellwig
2015-09-26 23:49 ` [Cluster-devel] " Nicholas A. Bellinger
2015-09-26 23:49   ` Nicholas A. Bellinger
2015-09-27  6:30   ` [Cluster-devel] " Christoph Hellwig
2015-09-27  6:30     ` Christoph Hellwig
2015-09-27  6:30     ` [Ocfs2-devel] " Christoph Hellwig
2015-09-28 12:12 ` [Cluster-devel] " Andrzej Pietrasiewicz
2015-09-28 12:12   ` Andrzej Pietrasiewicz
  -- strict thread matches above, loose matches on Subject: below --
2015-10-03 13:32 [Cluster-devel] simplify configfs attributes V2 Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 17/23] dlm: use per-attribute show and store methods Christoph Hellwig

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.