mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	[PATCH] kernel-doc: allow space after __attribute__
Allow space(s) between "__attribute__" and "((blah))" so that kernel-doc does not complain like: Warning(/tester/linsrc/linux-2.6.20-git15//kernel/timer.c:939): No description found for parameter 'read_persistent_clock(void' 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>
This commit is contained in:
		
							parent
							
								
									9d63463114
								
							
						
					
					
						commit
						328d24403d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1547,7 +1547,7 @@ sub dump_function($$) { | |||
|     $prototype =~ s/^noinline +//; | ||||
|     $prototype =~ s/__devinit +//; | ||||
|     $prototype =~ s/^#define\s+//; #ak added | ||||
|     $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; | ||||
|     $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; | ||||
| 
 | ||||
|     # Yes, this truly is vile.  We are looking for: | ||||
|     # 1. Return type (may be nothing if we're looking at a macro) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Randy Dunlap
						Randy Dunlap