Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2014 18:38:58 -0700
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: svn commit: r273604 - in head: include lib/libc/gen sys/kern sys/sys usr.bin/truss
Message-ID:  <CAGHfRMBgczB6zgt1862haTvYXGtLo6LQFXTWkfrFJQa8YvnCqQ@mail.gmail.com>
In-Reply-To: <88B273DE-C9EB-4C11-AE9E-0136BC2324C2@FreeBSD.org>
References:  <201410242002.s9OK2i3w018818@svn.freebsd.org> <88B273DE-C9EB-4C11-AE9E-0136BC2324C2@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 24, 2014 at 6:35 PM, Bjoern A. Zeeb <bz@freebsd.org> wrote:

...

> Has anyone fixed this:
>
> /scratch/tmp/bz/head.svn/sys/kern/kern_umtx.c:2898:21: error: passing 'volatile __uint32_t *' (aka 'volatile unsigned int *') to parameter of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifier
> s]
>                         count = fuword32(&sem->_count);
>                                          ^~~~~~~~~~~~
> /scratch/tmp/bz/head.svn/sys/sys/systm.h:258:30: note: passing argument to parameter 'base' here
> int32_t fuword32(const void *base);
>                              ^
> 1 error generated.
> --- kern_umtx.o ---
> *** [kern_umtx.o] Error code 1

    Xin did in r273616.
Cheers!



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