All of lore.kernel.org
 help / color / mirror / Atom feed
* simplify configfs attributes V2
@ 2015-10-03 13:32 ` Christoph Hellwig
  0 siblings, 0 replies; 91+ messages in thread
From: Christoph Hellwig @ 2015-10-03 13:32 UTC (permalink / raw)
  To: Joel Becker, Andrew Morton, Nicholas Bellinger
  Cc: Felipe Balbi, Andrzej Pietrasiewicz, Tejun Heo, Pratyush Anand,
	Pantelis Antoniou, target-devel, cluster-devel, ocfs2-devel,
	linux-usb, netdev

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] 91+ messages in thread
* simplify configfs attributes
@ 2015-09-25 13:49 Christoph Hellwig
       [not found] ` <1443189000-13398-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
  0 siblings, 1 reply; 91+ messages in thread
From: Christoph Hellwig @ 2015-09-25 13:49 UTC (permalink / raw)
  To: Joel Becker, Andrew Morton
  Cc: linux-usb, netdev, Pratyush Anand, Felipe Balbi, cluster-devel,
	target-devel, Tejun Heo, ocfs2-devel

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] 91+ messages in thread

end of thread, other threads:[~2015-10-14  5:23 UTC | newest]

Thread overview: 91+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-03 13:32 simplify configfs attributes V2 Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32 ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 01/23] configfs: add show and store methods to struct configfs_attribute Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 02/23] usb-gadget: use per-attribute show and store methods Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-09 21:19   ` Felipe Balbi
2015-10-09 21:19     ` [Cluster-devel] " Felipe Balbi
2015-10-11 13:10     ` Christoph Hellwig
2015-10-11 13:10       ` [Cluster-devel] " Christoph Hellwig
2015-10-11 13:10       ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 03/23] usb-gadget/uvc: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 04/23] usb-gadget/f_hid: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 05/23] usb-gadget/f_acm: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 06/23] usb-gadget/ether: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 07/23] usb-gadget/f_loopback: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 08/23] usb-gadget/f_midi: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 09/23] usb-gadget/f_printer: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 10/23] usb-gadget/f_sourcesink: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 11/23] usb-gadget/f_mass_storage: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 12/23] usb-gadget/f_uac1: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 13/23] usb-gadget/f_uac2: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 14/23] usb-gadget/f_obex: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 15/23] usb-gadget/f_phonet: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 16/23] usb-gadget/f_serial: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 17/23] dlm: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 18/23] spear13xx_pcie_gadget: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 20/23] netconsole: " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 21/23] ocfs2/cluster: move locking into attribute " Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
     [not found] ` <1443879179-22280-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2015-10-03 13:32   ` [PATCH 19/23] target: use per-attribute show and " Christoph Hellwig
2015-10-03 13:32     ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32     ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32   ` [PATCH 22/23] ocfs2/cluster: " Christoph Hellwig
2015-10-03 13:32     ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32     ` [Ocfs2-devel] " Christoph Hellwig
2015-10-09 21:37   ` simplify configfs attributes V2 Felipe Balbi
2015-10-09 21:37     ` [Cluster-devel] " Felipe Balbi
2015-10-11 13:10     ` Christoph Hellwig
2015-10-11 13:10       ` [Cluster-devel] " Christoph Hellwig
2015-10-11 13:10       ` [Ocfs2-devel] " Christoph Hellwig
2015-10-03 13:32 ` [PATCH 23/23] configfs: remove old API Christoph Hellwig
2015-10-03 13:32   ` [Cluster-devel] " Christoph Hellwig
2015-10-03 13:32   ` [Ocfs2-devel] " Christoph Hellwig
2015-10-05 21:37 ` simplify configfs attributes V2 Andrew Morton
2015-10-05 21:37   ` [Cluster-devel] " Andrew Morton
2015-10-05 21:37   ` [Ocfs2-devel] " Andrew Morton
     [not found]   ` <20151005143705.bdcfa7d7b8211506c5dbc12e-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2015-10-13 12:54     ` Christoph Hellwig
2015-10-13 12:54       ` [Cluster-devel] " Christoph Hellwig
2015-10-13 12:54       ` [Ocfs2-devel] " Christoph Hellwig
2015-10-14  5:23 ` Nicholas A. Bellinger
2015-10-14  5:23   ` [Cluster-devel] " Nicholas A. Bellinger
  -- strict thread matches above, loose matches on Subject: below --
2015-09-25 13:49 simplify configfs attributes Christoph Hellwig
     [not found] ` <1443189000-13398-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2015-09-25 13:49   ` [PATCH 20/23] netconsole: 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.