 Paolo Bonzini
		
	
	
		6bee44ea34
		
	
	
	
	dma: the passed io_func does not return NULL
			Paolo Bonzini
		
	
	
		6bee44ea34
		
	
	
	
	dma: the passed io_func does not return NULL
		
			
			Initially found with the following semantic patch:
@ type @
BlockDriverAIOCB *x;
expression E;
@@
  x = E;
- if (x == NULL) { ... }
@ acb1 @
expression E, E1;
@@
  E1->acb = E;
- if (E1->acb == NULL) { ... }
@ aiocb1 @
expression E, E1;
@@
  E1->aiocb = E;
- if (E1->aiocb == NULL) { ... }
@ acb @
expression E, E1;
@@
  E1.acb = E;
- if (E1.acb == NULL) { ... }
@ aiocb @
expression E, E1;
@@
  E1.aiocb = E;
- if (E1.aiocb == NULL) { ... }
but changed manually to include an assert.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
		
	
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		
				
					… 
				
			
			
		Read the documentation in qemu-doc.html or on http://wiki.qemu.org - QEMU team
Description
				
					Languages
				
				
								
								
									C
								
								90.3%
							
						
							
								
								
									Dylan
								
								2.5%
							
						
							
								
								
									Python
								
								2.1%
							
						
							
								
								
									C++
								
								2%
							
						
							
								
								
									Shell
								
								1.7%
							
						
							
								
								
									Other
								
								1.4%