Masahiro Yamada  
		
	
	
		73e1e7952a 
		
	 
	
	
	libfdt: fix error code of fdt_count_strings()  
		
			... 
			Currently, this function returns a positive value on error,
so we never know whether this function has succeeded or failed.
For example, if the given property is not found, fdt_getprop()
returns -FDT_ERR_NOTFOUND, and then this function inverts it,
i.e., returns FDT_ERR_NOTFOUND (=1).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Fixes: bc4147ab2d69 ("fdt: Add a function to count strings")
Acked-by: Simon Glass <sjg@chromium.org> 
		
	 
 
		2015-07-20 07:21:47 -06:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2015-01-14 11:35:44 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-20 07:21:47 -06:00 
		 
	
		
			
			
			
			
			
			2015-01-14 11:35:43 -05:00 
		 
	
		
			
			
			
			
			
			2015-01-14 11:35:44 -05:00 
		 
	
		
			
			
			
			
			
			2015-03-05 12:04:59 -08:00 
		 
	
		
			
			
			
			
			
			2014-03-28 15:06:30 -04:00 
		 
	
		
			
			
			
			
			
			2014-12-08 09:35:46 -05:00 
		 
	
		
			
			
			
			
			
			2012-07-06 17:30:32 -05:00 
		 
	
		
			
			
			
			
			
			2014-04-18 16:14:17 -04:00 
		 
	
		
			
			
			
			
			
			2015-03-05 20:50:28 -05:00 
		 
	
		
			
			
			
			
			
			2012-01-26 16:09:02 -06:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2011-01-18 23:38:08 +01:00 
		 
	
		
			
			
			
			
			
			2014-01-08 17:20:34 -07:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:45:01 -04:00 
		 
	
		
			
			
			
			
			
			2013-04-19 10:24:14 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-14 18:49:35 -06:00 
		 
	
		
			
			
			
			
			
			2014-07-18 17:53:22 -04:00 
		 
	
		
			
			
			
			
			
			2014-12-11 13:18:41 -07:00 
		 
	
		
			
			
			
			
			
			2010-09-19 19:29:47 +02:00 
		 
	
		
			
			
			
			
			
			2014-06-23 09:11:30 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2015-07-20 07:21:47 -06:00 
		 
	
		
			
			
			
			
			
			2015-04-22 12:14:55 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-07-22 07:44:26 -04:00 
		 
	
		
			
			
			
			
			
			2014-12-29 16:31:23 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-08 18:26:39 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:45:01 -04:00 
		 
	
		
			
			
			
			
			
			2014-08-25 19:25:03 -04:00 
		 
	
		
			
			
			
			
			
			2012-12-13 11:46:07 -07:00 
		 
	
		
			
			
			
			
			
			2014-09-16 12:23:56 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-25 07:02:01 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-23 09:05:54 -06:00 
		 
	
		
			
			
			
			
			
			2012-04-29 14:14:08 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:32 -06:00 
		 
	
		
			
			
			
			
			
			2012-12-06 14:30:40 -08:00 
		 
	
		
			
			
			
			
			
			2011-12-07 08:39:54 +01:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-16 12:23:56 -04:00 
		 
	
		
			
			
			
			
			
			2014-07-18 17:53:23 -04:00 
		 
	
		
			
			
			
			
			
			2014-06-19 11:19:04 -04:00 
		 
	
		
			
			
			
			
			
			2013-10-14 16:06:53 -04:00 
		 
	
		
			
			
			
			
			
			2014-12-11 13:18:41 -07:00 
		 
	
		
			
			
			
			
			
			2014-11-20 11:28:25 -05:00 
		 
	
		
			
			
			
			
			
			2014-10-27 11:04:01 -04:00 
		 
	
		
			
			
			
			
			
			2014-06-19 11:19:04 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:09 -06:00 
		 
	
		
			
			
			
			
			
			2014-04-02 16:36:06 -04:00 
		 
	
		
			
			
			
			
			
			2015-06-30 00:40:11 +05:30