Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jul 2005 21:58:32 +0300
From:      Maxim Sobolev <sobomax@portaone.com>
To:        Roman Kurakin <rik@FreeBSD.ORG>
Cc:        cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/compat/ndis subr_ntoskrnl.c
Message-ID:  <42CECCD8.5070201@portaone.com>
In-Reply-To: <200507081837.j68Ib0IM082223@repoman.freebsd.org>
References:  <200507081837.j68Ib0IM082223@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Kurakin wrote:
> rik         2005-07-08 18:36:59 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/compat/ndis      subr_ntoskrnl.c 
>   Log:
>   Use implicit type cast for ->k_lock to fix compilation of ndis
>   as a part of the GENERIC kernel with INVARIANT* and WITNESS*
>   turned off.

I think the better fix is to change type of k_lock member from void* to 
the struct mtx*, I've already commited such change to the RELENG_5 few 
days ago.

-Maxim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42CECCD8.5070201>