From owner-svn-src-projects@FreeBSD.ORG Thu May 28 13:16:24 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10D7210656A4; Thu, 28 May 2009 13:16:24 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F314D8FC21; Thu, 28 May 2009 13:16:23 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4SDGNC5038673; Thu, 28 May 2009 13:16:23 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4SDGNAs038672; Thu, 28 May 2009 13:16:23 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200905281316.n4SDGNAs038672@svn.freebsd.org> From: Robert Watson Date: Thu, 28 May 2009 13:16:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192974 - projects/pnet/sys/net X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 13:16:24 -0000 Author: rwatson Date: Thu May 28 13:16:23 2009 New Revision: 192974 URL: http://svn.freebsd.org/changeset/base/192974 Log: Universally use unsigned ints for protocol numbers in netisr2; the only remaining signed int protocol numbers are from compatibility interfaces with the existing netisr code. Modified: projects/pnet/sys/net/netisr2.c Modified: projects/pnet/sys/net/netisr2.c ============================================================================== --- projects/pnet/sys/net/netisr2.c Thu May 28 10:24:26 2009 (r192973) +++ projects/pnet/sys/net/netisr2.c Thu May 28 13:16:23 2009 (r192974) @@ -644,7 +644,7 @@ netisr2_select_cpuid(struct netisr_proto * processing. */ static void -netisr2_process_workstream_proto(struct netisr_workstream *nwsp, int proto) +netisr2_process_workstream_proto(struct netisr_workstream *nwsp, u_int proto) { struct netisr_work local_npw, *npwp; u_int handled; @@ -703,7 +703,7 @@ netisr2_process_workstream_proto(struct * responsible for checking the running flag before entering this function. */ static void -netisr2_process_workstream(struct netisr_workstream *nwsp, int proto) +netisr2_process_workstream(struct netisr_workstream *nwsp, u_int proto) { u_int i;