mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	media: dib7000m: incorrect format specifier detected by clang
drivers/media/dvb-frontends/dib7000m.c:811:38: warning: format specifies type 'short' but the argument has type 'u8' (aka 'unsigned char') [-Wformat]
                        dprintk("SPLIT %p: %hd\n", demod, agc_split);
                                           ~~~            ^~~~~~~~~
                                           %hhu
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									8821e92879
								
							
						
					
					
						commit
						cfff58188e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -808,7 +808,7 @@ static int dib7000m_agc_startup(struct dvb_frontend *demod) | |||
| 
 | ||||
| 			dib7000m_restart_agc(state); | ||||
| 
 | ||||
| 			dprintk("SPLIT %p: %hd\n", demod, agc_split); | ||||
| 			dprintk("SPLIT %p: %u\n", demod, agc_split); | ||||
| 
 | ||||
| 			(*agc_state)++; | ||||
| 			ret = 5; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Sean Young
						Sean Young