Subject: kern/32679: Type error in sys/mbuf.h
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yves-emmanuel.jutard@fr.thalesgroup.com>
List: netbsd-bugs
Date: 01/31/2006 16:45:01
>Number:         32679
>Category:       kern
>Synopsis:       Type error in sys/mbuf.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 31 16:45:00 +0000 2006
>Originator:     Yves-Emmanuel JUTARD
>Release:        3.0.0
>Organization:
THALES Communication
>Environment:
custom environment : recompiled from /src, only some parts of NetBSD are used (TCP/IP stack and some parts of the kernel)
>Description:
in file sys/sys/mbuf.h (v 1.105.2.1)
l. 915, function 'pool_cache_put_paddr' is passed a 'void *' as first argument instead of a 'struct pool_cache *'. My compiler yell about that.

>How-To-Repeat:
Recompile a file using mbuf.h with warning on ;-)
>Fix:
suggestion : add a cast to (struct pool_cache *)
or do a cleverer thing.