Date: Thu, 28 May 2009 13:16:23 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r192974 - projects/pnet/sys/net Message-ID: <200905281316.n4SDGNAs038672@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905281316.n4SDGNAs038672>