svn commit: r320236 - head/sys/sys

Conrad Meyer cem at FreeBSD.org
Thu Jun 22 15:52:19 UTC 2017


Author: cem
Date: Thu Jun 22 15:52:18 2017
New Revision: 320236
URL: https://svnweb.freebsd.org/changeset/base/320236

Log:
  sglist.h: Fix sg_refs signedness to match refcount(9)
  
  PR:		220122
  Reported by:	Mark Millard <markmi at dsl-only.net>
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/sys/sglist.h

Modified: head/sys/sys/sglist.h
==============================================================================
--- head/sys/sys/sglist.h	Thu Jun 22 15:09:42 2017	(r320235)
+++ head/sys/sys/sglist.h	Thu Jun 22 15:52:18 2017	(r320236)
@@ -48,7 +48,7 @@ struct sglist_seg {
 
 struct sglist {
 	struct sglist_seg *sg_segs;
-	int		sg_refs;
+	u_int		sg_refs;
 	u_short		sg_nseg;
 	u_short		sg_maxseg;
 };


More information about the svn-src-head mailing list