From: Christoph Hellwig <hch@lst.de>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] simplify configfs attributes V2
Date: Sat, 3 Oct 2015 15:32:36 +0200 [thread overview]
Message-ID: <1443879179-22280-1-git-send-email-hch@lst.de> (raw)
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
next reply other threads:[~2015-10-03 13:32 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-03 13:32 Christoph Hellwig [this message]
2015-10-03 13:32 ` [Cluster-devel] [PATCH 01/23] configfs: add show and store methods to struct configfs_attribute Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 02/23] usb-gadget: use per-attribute show and store methods Christoph Hellwig
2015-10-09 21:19 ` Felipe Balbi
2015-10-11 13:10 ` Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 03/23] usb-gadget/uvc: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 04/23] usb-gadget/f_hid: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 05/23] usb-gadget/f_acm: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 06/23] usb-gadget/ether: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 07/23] usb-gadget/f_loopback: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 08/23] usb-gadget/f_midi: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 09/23] usb-gadget/f_printer: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 10/23] usb-gadget/f_sourcesink: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 11/23] usb-gadget/f_mass_storage: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 12/23] usb-gadget/f_uac1: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 13/23] usb-gadget/f_uac2: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 14/23] usb-gadget/f_obex: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 15/23] usb-gadget/f_phonet: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 16/23] usb-gadget/f_serial: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 17/23] dlm: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 18/23] spear13xx_pcie_gadget: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 19/23] target: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 20/23] netconsole: " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 21/23] ocfs2/cluster: move locking into attribute " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 22/23] ocfs2/cluster: use per-attribute show and " Christoph Hellwig
2015-10-03 13:32 ` [Cluster-devel] [PATCH 23/23] configfs: remove old API Christoph Hellwig
2015-10-05 21:37 ` [Cluster-devel] simplify configfs attributes V2 Andrew Morton
2015-10-13 12:54 ` Christoph Hellwig
2015-10-09 21:37 ` Felipe Balbi
2015-10-11 13:10 ` Christoph Hellwig
2015-10-14 5:23 ` Nicholas A. Bellinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443879179-22280-1-git-send-email-hch@lst.de \
--to=hch@lst.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).