mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	slimbus: qcom: fix incompatible pointer warning
One of the pointer passed to dmam_alloc_coherent seems to be phys_addr_t * instead of dma_addr_t *. This address will be used by dma apis, so change this to proper type. Reported-by: kbuild test robot <fengguang.wu@intel.com> Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									0b598e4f87
								
							
						
					
					
						commit
						db809859c8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -93,7 +93,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct slim_ctrl_buf {
 | 
					struct slim_ctrl_buf {
 | 
				
			||||||
	void		*base;
 | 
						void		*base;
 | 
				
			||||||
	phys_addr_t	phy;
 | 
						dma_addr_t	phy;
 | 
				
			||||||
	spinlock_t	lock;
 | 
						spinlock_t	lock;
 | 
				
			||||||
	int		head;
 | 
						int		head;
 | 
				
			||||||
	int		tail;
 | 
						int		tail;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue