mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	ARM: 8419/1: dma-mapping: harmonize definition of DMA_ERROR_CODE
All architectures except arm that define DMA_ERROR_CODE are casting it to (dma_addr_t) - as it is always compared to dma_addr_t in arm as well this could be harmonized. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
		
							parent
							
								
									8901925d32
								
							
						
					
					
						commit
						96231b2686
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -14,7 +14,7 @@
 | 
			
		|||
#include <xen/xen.h>
 | 
			
		||||
#include <asm/xen/hypervisor.h>
 | 
			
		||||
 | 
			
		||||
#define DMA_ERROR_CODE	(~0)
 | 
			
		||||
#define DMA_ERROR_CODE	(~(dma_addr_t)0x0)
 | 
			
		||||
extern struct dma_map_ops arm_dma_ops;
 | 
			
		||||
extern struct dma_map_ops arm_coherent_dma_ops;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue