Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2015 15:13:18 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r285635 - stable/10/sys/vm
Message-ID:  <201507161513.t6GFDIcI039667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Jul 16 15:13:17 2015
New Revision: 285635
URL: https://svnweb.freebsd.org/changeset/base/285635

Log:
  MFC r284207 (by alc):
  Correct a type error in kmem_unback().
  
  Requested by:	alc
  Approved by:	re (gjb)

Modified:
  stable/10/sys/vm/vm_kern.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/vm/vm_kern.c
==============================================================================
--- stable/10/sys/vm/vm_kern.c	Thu Jul 16 14:41:58 2015	(r285634)
+++ stable/10/sys/vm/vm_kern.c	Thu Jul 16 15:13:17 2015	(r285635)
@@ -391,8 +391,7 @@ void
 kmem_unback(vm_object_t object, vm_offset_t addr, vm_size_t size)
 {
 	vm_page_t m;
-	vm_offset_t offset;
-	int i;
+	vm_offset_t i, offset;
 
 	KASSERT(object == kmem_object || object == kernel_object,
 	    ("kmem_unback: only supports kernel objects."));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507161513.t6GFDIcI039667>