]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/kernel-doc: recognize __meminit
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 25 Aug 2014 01:17:17 +0000 (18:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Aug 2014 20:49:57 +0000 (13:49 -0700)
commit756e3d409d8d4f4ae75267854e9b3467ee949b31
tree578f578ce9990ed1c023382d83d655770516e5d8
parent7055afb06189cf53fcf1841e6e60971221ded012
scripts/kernel-doc: recognize __meminit

Fix scripts/kernel-doc to recognize __meminit in a function prototype
and to strip it, as done with many other attributes.

Fixes this warning:

  Warning(..//mm/page_alloc.c:2973): cannot understand function prototype: 'void * __meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) '

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/kernel-doc