From owner-svn-src-head@freebsd.org Thu Jun 9 13:04:58 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A16EFB6EDDC; Thu, 9 Jun 2016 13:04:58 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72A421871; Thu, 9 Jun 2016 13:04:58 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u59D4v8H068149; Thu, 9 Jun 2016 13:04:57 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u59D4vCS068148; Thu, 9 Jun 2016 13:04:57 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201606091304.u59D4vCS068148@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Thu, 9 Jun 2016 13:04:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301726 - head/sys/dev/iscsi X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 13:04:58 -0000 Author: trasz Date: Thu Jun 9 13:04:57 2016 New Revision: 301726 URL: https://svnweb.freebsd.org/changeset/base/301726 Log: Consistently use 'unsigned int' for session IDs. MFC after: 1 month Modified: head/sys/dev/iscsi/iscsi_ioctl.h Modified: head/sys/dev/iscsi/iscsi_ioctl.h ============================================================================== --- head/sys/dev/iscsi/iscsi_ioctl.h Thu Jun 9 12:33:53 2016 (r301725) +++ head/sys/dev/iscsi/iscsi_ioctl.h Thu Jun 9 13:04:57 2016 (r301726) @@ -158,7 +158,7 @@ struct iscsi_daemon_fail { */ struct iscsi_daemon_connect { - int idc_session_id; + unsigned int idc_session_id; int idc_iser; int idc_domain; int idc_socktype; @@ -171,7 +171,7 @@ struct iscsi_daemon_connect { }; struct iscsi_daemon_send { - int ids_session_id; + unsigned int ids_session_id; void *ids_bhs; size_t ids_spare; void *ids_spare2; @@ -181,7 +181,7 @@ struct iscsi_daemon_send { }; struct iscsi_daemon_receive { - int idr_session_id; + unsigned int idr_session_id; void *idr_bhs; size_t idr_spare; void *idr_spare2;