mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-30 18:05:48 +01:00 
			
		
		
		
	This introduces strlcat, which provides a safer interface than strncat. It never copies more than its size bytes, including the terminating nul. In addition, it never reads past dest[size - 1], even if dest is not nul-terminated. This also removes the stub for dwc3 now that we have a proper implementation. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			17 lines
		
	
	
		
			381 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			381 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| /**
 | |
|  * linux-compat.h - DesignWare USB3 Linux Compatibiltiy Adapter  Header
 | |
|  *
 | |
|  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com
 | |
|  *
 | |
|  * Authors: Kishon Vijay Abraham I <kishon@ti.com>
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef __DWC3_LINUX_COMPAT__
 | |
| #define __DWC3_LINUX_COMPAT__
 | |
| 
 | |
| #define dev_WARN(dev, format, arg...)	debug(format, ##arg)
 | |
| 
 | |
| #endif
 |