mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	drm/amdgpu/soc15: fix warnings in register macro
expects argument of type ‘unsigned int’ has type ‘long int’
Fixes: 52e211c1f0 ("drm/amdgpu:Add error message when register failed to reach expected value")
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
			
			
This commit is contained in:
		
							parent
							
								
									a3716d3a06
								
							
						
					
					
						commit
						81bb773f35
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -57,7 +57,7 @@
 | 
			
		|||
			loop--;					\
 | 
			
		||||
			if (!loop) {				\
 | 
			
		||||
				DRM_ERROR("Register(%d) [%s] failed to reach value 0x%08x != 0x%08x\n", \
 | 
			
		||||
							inst, #reg, expected_value, (tmp_ & (mask))); \
 | 
			
		||||
					  inst, #reg, (unsigned)expected_value, (unsigned)(tmp_ & (mask))); \
 | 
			
		||||
				ret = -ETIMEDOUT;		\
 | 
			
		||||
				break;				\
 | 
			
		||||
			}					\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue