Daniel Vetter  
		
	
	
		66b31b6e19 
		
	 
	
	
	lib: add igt.cocci  
		
			... 
			Small start but useful to collect refactorings/simplifications for
common igt patterns. Please add more if you stumble over some so that
we can occasionally run this to clean up the tests.
I haven't figured out yet how to do the assert_cmpint->assert_eq
transformation.
Run this with
spatch --sp-file lib/igt.cocci --in-place tests/*.c
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> 
		
	 
 
		2014-06-13 11:17:22 +02:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2014-05-12 18:56:31 +02:00 
		 
	
		
			
			
			
			
			
			2013-12-03 17:08:03 +01:00 
		 
	
		
			
			
			
			
			
			2011-07-28 14:26:57 -07:00 
		 
	
		
			
			
			
			
			
			2014-06-09 11:17:20 -07:00 
		 
	
		
			
			
			
			
			
			2014-04-25 07:45:56 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-03 13:49:23 +03:00 
		 
	
		
			
			
			
			
			
			2014-03-22 20:08:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-03 13:49:23 +03:00 
		 
	
		
			
			
			
			
			
			2014-03-22 20:08:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-04 10:54:38 -07:00 
		 
	
		
			
			
			
			
			
			2013-12-05 15:32:42 -08:00 
		 
	
		
			
			
			
			
			
			2014-06-12 10:12:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-02-20 13:42:25 +00:00 
		 
	
		
			
			
			
			
			
			2011-03-29 22:52:50 +02:00 
		 
	
		
			
			
			
			
			
			2014-06-12 10:12:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-05-28 09:05:57 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-12 10:12:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-13 11:17:04 +02:00 
		 
	
		
			
			
			
			
			
			2014-06-05 10:29:17 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-05 11:09:30 +01:00 
		 
	
		
			
			
			
			
			
			2014-05-16 17:45:14 +03:00 
		 
	
		
			
			
			
			
			
			2014-05-16 17:45:14 +03:00 
		 
	
		
			
			
			
			
			
			2014-04-30 18:07:58 +02:00 
		 
	
		
			
			
			
			
			
			2014-06-12 10:12:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-13 11:17:22 +02:00 
		 
	
		
			
			
			
			
			
			2014-01-07 16:48:04 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-08 12:17:31 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-26 18:50:28 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-12 10:12:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-04-25 07:45:56 +01:00 
		 
	
		
			
			
			
			
			
			2014-04-29 18:39:12 +03:00 
		 
	
		
			
			
			
			
			
			2014-05-19 20:13:15 +03:00 
		 
	
		
			
			
			
			
			
			2014-06-03 22:19:42 +03:00 
		 
	
		
			
			
			
			
			
			2014-03-23 14:45:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-12 09:04:45 +02:00 
		 
	
		
			
			
			
			
			
			2014-03-22 21:34:29 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-12 10:12:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-09 11:17:20 -07:00 
		 
	
		
			
			
			
			
			
			2014-03-22 21:07:37 +01:00 
		 
	
		
			
			
			
			
			
			2013-11-12 12:00:36 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-26 18:50:28 +01:00 
		 
	
		
			
			
			
			
			
			2014-04-24 13:49:19 +01:00 
		 
	
		
			
			
			
			
			
			2014-04-24 13:49:19 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-22 20:18:51 +01:00 
		 
	
		
			
			
			
			
			
			2014-04-24 13:49:19 +01:00 
		 
	
		
			
			
			
			
			
			2014-04-24 13:49:19 +01:00 
		 
	
		
			
			
			
			
			
			2014-06-12 10:12:13 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-22 21:34:29 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-22 21:34:29 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-22 15:44:48 +01:00