mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 16:38:31 +00:00 
			
		
		
		
	 57c9fff3d0
			
		
	
	
		57c9fff3d0
		
	
	
	
	
		
			
			sparse complains about a shadowed variable, which we can just rename, and lots of stuff if the API tracer is enabled, so kick out the tracer code in a sparse run -- the macros just confuse it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			230 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			230 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* bug in tracepoint.h, it should include this */
 | |
| #include <linux/module.h>
 | |
| 
 | |
| /* sparse isn't too happy with all macros... */
 | |
| #ifndef __CHECKER__
 | |
| #include "driver-ops.h"
 | |
| #define CREATE_TRACE_POINTS
 | |
| #include "driver-trace.h"
 | |
| #endif
 |