Subject: kern/32679: Type error in sys/mbuf.h
To: None <,,>
From: None <>
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
THALES Communication
custom environment : recompiled from /src, only some parts of NetBSD are used (TCP/IP stack and some parts of the kernel)
in file sys/sys/mbuf.h (v
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.

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