summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2018-02-07 00:38:55 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-07 03:32:45 +0100
commit001804689b0d41410ae483d3e3dcdb16c3a6640f (patch)
tree322c581d2e28210142d6604bf67f01203aa05608 /.gitignore
parentcheckpatch: improve quoted string and line continuation test (diff)
downloadlinux-001804689b0d41410ae483d3e3dcdb16c3a6640f.tar.xz
linux-001804689b0d41410ae483d3e3dcdb16c3a6640f.zip
checkpatch: add a few DEVICE_ATTR style tests
DEVICE_ATTR is a declaration macro that has a few alternate and preferred forms like DEVICE_ATTR_RW, DEVICE_ATTR_RO, and DEVICE_ATTR. As well, many uses of DEVICE_ATTR could use the preferred forms when the show or store functions are also named in a regular form. Suggest the preferred forms when appropriate. Also emit a permissions warning if the the permissions are not the typical 0644, 0444, or 0200. Link: http://lkml.kernel.org/r/725864f363d91d1e1e6894a39fb57662eabd6d65.1513803306.git.joe@perches.com Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions