svn commit: r258361 - head/sys/cddl/dev/fbt

Justin Hibbits jhibbits at FreeBSD.org
Wed Nov 20 01:33:14 UTC 2013


Author: jhibbits
Date: Wed Nov 20 01:33:13 2013
New Revision: 258361
URL: http://svnweb.freebsd.org/changeset/base/258361

Log:
  Fix the function search space.
  
  Submitted by:	Howard Su

Modified:
  head/sys/cddl/dev/fbt/fbt_powerpc.c

Modified: head/sys/cddl/dev/fbt/fbt_powerpc.c
==============================================================================
--- head/sys/cddl/dev/fbt/fbt_powerpc.c	Wed Nov 20 00:17:57 2013	(r258360)
+++ head/sys/cddl/dev/fbt/fbt_powerpc.c	Wed Nov 20 01:33:13 2013	(r258361)
@@ -219,7 +219,7 @@ fbt_provide_module_function(linker_file_
 		return (0);
 
 	instr = (u_int32_t *) symval->value;
-	limit = (u_int32_t *) symval->value + symval->size;
+	limit = (u_int32_t *) (symval->value + symval->size);
 
 	for (; instr < limit; instr++)
 		if (*instr == FBT_MFLR_R0)


More information about the svn-src-head mailing list