From thinker@branda.to  Tue Mar 25 23:43:38 2008
Return-Path: <thinker@branda.to>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F29631065671
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 2008 23:43:38 +0000 (UTC)
	(envelope-from thinker@branda.to)
Received: from msr37.hinet.net (msr37.hinet.net [168.95.4.137])
	by mx1.freebsd.org (Postfix) with ESMTP id 5625E8FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 2008 23:43:38 +0000 (UTC)
	(envelope-from thinker@branda.to)
Received: from cowboy.branda.to (122-120-97-219.dynamic.hinet.net [122.120.97.219])
	by msr37.hinet.net (8.9.3/8.9.3) with ESMTP id HAA29567
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Mar 2008 07:43:30 +0800 (CST)
Received: from cowboy.branda.to (localhost [127.0.0.1])
	by cowboy.branda.to (8.14.2/8.14.2) with ESMTP id m2PNhTpq000977
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Mar 2008 07:43:29 +0800 (CST)
	(envelope-from thinker@cowboy.branda.to)
Received: (from thinker@localhost)
	by cowboy.branda.to (8.14.2/8.14.2/Submit) id m2PNhTUb000976;
	Wed, 26 Mar 2008 07:43:29 +0800 (CST)
	(envelope-from thinker)
Message-Id: <200803252343.m2PNhTUb000976@cowboy.branda.to>
Date: Wed, 26 Mar 2008 07:43:29 +0800 (CST)
From: "Thinker K.F. Li" <thinker@branda.to>
Reply-To: "Thinker K.F. Li" <thinker@branda.to>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Kernel can not be built
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         122098
>Category:       kern
>Synopsis:       Kernel can not be built
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 23:50:01 UTC 2008
>Closed-Date:    Wed Mar 26 06:33:04 UTC 2008
>Last-Modified:  Fri Apr 11 10:20:01 UTC 2008
>Originator:     Thinker K.F. Li
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cowboy.branda.to 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Dec 19 19:53:07 CST 2007 thinker@cowboy.branda.to:/usr/src/sys/i386/compile/cowboy i386


	
>Description:
	compat/linux/linux_misc.c, under root of FreeBSD kernel source,
	makes an error when `make buildkernel' in directory /usr/src.
	Since a warning would cause an error, the file is with a warning
	on type casting.  It stops the process of buildkernel.
	
>How-To-Repeat:
	cd /usr/src; make buildkernel
	
>Fix:

	

--- patch-compat::linux::linux_misc.c begins here ---
--- compat/linux/linux_misc.c.orig	2008-03-25 23:33:25.000000000 +0800
+++ compat/linux/linux_misc.c	2008-03-26 00:24:16.000000000 +0800
@@ -1750,7 +1750,7 @@
 	cga.which = CPU_WHICH_PID;
 	cga.id = args->pid;
 	cga.cpusetsize = sizeof(cpumask_t);
-	cga.mask = (long *) args->user_mask_ptr;
+	cga.mask = (cpuset_t *) args->user_mask_ptr;
 	
 	if ((error = cpuset_getaffinity(td, &cga)) == 0)
 		td->td_retval[0] = sizeof(cpumask_t);
@@ -1776,7 +1776,7 @@
 	csa.which = CPU_WHICH_PID;
 	csa.id = args->pid;
 	csa.cpusetsize = args->len;
-	csa.mask = (long *) args->user_mask_ptr;
+	csa.mask = (cpuset_t *) args->user_mask_ptr;
 
 	return (cpuset_setaffinity(td, &csa));
 }
--- patch-compat::linux::linux_misc.c ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Mar 26 06:33:03 UTC 2008 
State-Changed-Why:  
Thanks for the submission, but 1) we were already aware of this, 2) it 
doesn't make sense to send-pr for -current because that breaks every now 
and then, that's what it's there for... -> close the ticket. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122098 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/122098: commit references a PR
Date: Wed, 26 Mar 2008 06:45:34 +0000 (UTC)

 remko       2008-03-26 06:45:29 UTC
 
   FreeBSD src repository
 
   Modified files:
     .                    ObsoleteFiles.inc 
   Log:
   Document the removal data for usbdevs.h and usbdevs_data.h,
   sort the entry into it's correct place (behind 200407XX before
   200406XX because we have an explicit date here).
   
   PR:             misc/122098
   Submitted by:   "John Hein" <jhein@timing.com>
   MFC after:      3 days
   
   Revision  Changes    Path
   1.134     +3 -2      src/ObsoleteFiles.inc
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/122098: commit references a PR
Date: Sat, 29 Mar 2008 13:53:15 +0000 (UTC)

 remko       2008-03-29 13:53:07 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     .                    ObsoleteFiles.inc 
   Log:
   MFC rev 1.134 ObsoleteFiles.inc
   
     Document the removal data for usbdevs.h and usbdevs_data.h,
     sort the entry into it's correct place (behind 200407XX before
     200406XX because we have an explicit date here).
   
     PR:             misc/122098
     Submitted by:   "John Hein" <jhein@timing.com>
     MFC after:      3 days
   
   Approved by:    imp (mentor, implicit)
   
   Revision    Changes    Path
   1.112.2.11  +3 -2      src/ObsoleteFiles.inc
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/122098: commit references a PR
Date: Fri, 11 Apr 2008 10:14:28 +0000 (UTC)

 remko       2008-04-11 10:14:19 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     .                    ObsoleteFiles.inc 
   Log:
   MFC rev 1.134 ObsoleteFiles.inc
   
     Document the removal data for usbdevs.h and usbdevs_data.h,
     sort the entry into it's correct place (behind 200407XX before
     200406XX because we have an explicit date here).
   
     PR:             misc/122098
     Submitted by:   "John Hein" <jhein@timing.com>
     MFC after:      3 days
   
   Approved by:    imp (mentor, implicit)
   PR:             misc/122099 (should have been this PR).
   
   Revision   Changes    Path
   1.25.2.23  +3 -0      src/ObsoleteFiles.inc
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
