PERFORCE change 172868 for review

Rafal Jaworowski raj at FreeBSD.org
Sat Jan 9 20:52:09 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=172868

Change 172868 by raj at raj_fdt on 2010/01/09 20:51:57

	Fix elementary mistake and really shift as intended.

Affected files ...

.. //depot/projects/fdt/sys/dev/fdt/fdt_common.c#2 edit

Differences ...

==== //depot/projects/fdt/sys/dev/fdt/fdt_common.c#2 (text+ko) ====

@@ -105,7 +105,7 @@
 
 	if (cells > 1) {
 		d64 = fdt64_to_cpu(*((uint64_t *)data));
-		if (((d64 > 32) & 0xffffffffull) != 0)
+		if (((d64 >> 32) & 0xffffffffull) != 0)
 			return (ERANGE);
 	}
 


More information about the p4-projects mailing list