Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 15:52:18 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320236 - head/sys/sys
Message-ID:  <201706221552.v5MFqI03098723@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 };



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