mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	tools: mkimage: Avoid ENODATA in host tools
ENODATA isn't part of POSIX. Use EINVAL instead. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		| @@ -1205,7 +1205,7 @@ int fit_pre_load_data(const char *keydir, void *keydest, void *fit) | ||||
| 		if (!key_name) | ||||
| 			printf("The property key-name is missing in the node %s\n", | ||||
| 			       IMAGE_PRE_LOAD_PATH); | ||||
| 		ret = -ENODATA; | ||||
| 		ret = -EINVAL; | ||||
| 		goto out; | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user