Subject: + documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch added to -mm tree To: andre.o.richter@xxxxxxxxx,greg@xxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 21 Nov 2013 16:46:38 -0800 The patch titled Subject: Documentation/filesystems/sysfs.txt: fix device_attribute declaration has been added to the -mm tree. Its filename is documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andre Richter <andre.o.richter@xxxxxxxxx> Subject: Documentation/filesystems/sysfs.txt: fix device_attribute declaration Fix a wrong device_attribute declaration example. Signed-off-by: Andre Richter <andre.o.richter@xxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/filesystems/sysfs.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN Documentation/filesystems/sysfs.txt~documentation-filesystems-sysfstxt-fix-device_attribute-declaration Documentation/filesystems/sysfs.txt --- a/Documentation/filesystems/sysfs.txt~documentation-filesystems-sysfstxt-fix-device_attribute-declaration +++ a/Documentation/filesystems/sysfs.txt @@ -108,12 +108,12 @@ static DEVICE_ATTR(foo, S_IWUSR | S_IRUG is equivalent to doing: static struct device_attribute dev_attr_foo = { - .attr = { + .attr = { .name = "foo", .mode = S_IWUSR | S_IRUGO, - .show = show_foo, - .store = store_foo, }, + .show = show_foo, + .store = store_foo, }; _ Patches currently in -mm which might be from andre.o.richter@xxxxxxxxx are origin.patch documentation-filesystems-sysfstxt-fix-device_attribute-declaration.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html