Re: [PATCH V2] sysfs.txt: add note on available attribute macros

From: Jonathan Corbet
Date: Sun Feb 17 2019 - 17:53:38 EST


On Fri, 15 Feb 2019 08:29:48 +0100
Nicholas Mc Guire <hofrat@xxxxxxxxx> wrote:

> The common cases of attributes wrappers should probably be using the
> __ATTR_XXX macros to make code more concise and readable but the current
> sysfs.txt does not point developers to those convenience macros. Further
> there is no note in sysfs.txt currently explaining why trying to set a
> sysfs file to mode 0666 will fail respectively revert to 0664.
>
> Signed-off-by: Nicholas Mc Guire <hofrat@xxxxxxxxx>

I've applied this, thanks.

jon