]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/kernel-doc: handle struct member __aligned
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 23 Mar 2010 20:35:14 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Mar 2010 23:31:19 +0000 (16:31 -0700)
commit06936752be7ce9b25cc4418b4a327b8b4759c99a
tree2a53455ebd567183670eeaf5cc913a460ba1bf34
parenta17a76cc41dcfdb396980b2ac0c51199bde601e7
scripts/kernel-doc: handle struct member __aligned

scripts/kernel-doc erroneously says:

Warning(include/linux/skbuff.h:410): Excess struct/union/enum/typedef member 'cb' description in 'sk_buff'

on this line in struct sk_buff:
char cb[48] __aligned(8);

due to treating the last field as the struct member name, so teach
kernel-doc to ignore __aligned(x) in structs.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/kernel-doc