Date: Sat, 7 Nov 2015 10:26:49 -0800 From: Conrad Meyer <cem@FreeBSD.org> To: Hans Petter Selasky <hps@selasky.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r290475 - in head: share/man/man9 sys/kern sys/sys Message-ID: <CAG6CVpXAGKG9y9uO_SUzc%2BxQxO8bWOvTgS__EMrUe%2BgShguLfw@mail.gmail.com> In-Reply-To: <563DDE73.6030307@selasky.org> References: <201511070143.tA71h13k038232@repo.freebsd.org> <CAFHCsPUagzwtFZvJ10bAeEH8y8Lkz0N1WL99fbBiBKOb=Mk-rQ@mail.gmail.com> <563DDE73.6030307@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Can do =E2=80=94 fixed in r290505. Thanks, Conrad On Sat, Nov 7, 2015 at 3:20 AM, Hans Petter Selasky <hps@selasky.org> wrote= : > On 11/07/15 09:37, Svatopluk Kraus wrote: >> >> +#define SYSCTL_NULL_U64_PTR ((unsigned *)NULL) > > > Hi Conrad, > > All the NULL macros must have correct type according to the size-check > asserts. Else they won't have any purpose: > > #define SYSCTL_NULL_U64_PTR ((uint64_t *)NULL) > #define SYSCTL_NULL_S64_PTR ((int64_t *)NULL) > > #define SYSCTL_NULL_U8_PTR ((uint8_t *)NULL) > #define SYSCTL_NULL_S8_PTR ((int8_t *)NULL) > > And so one. Can you fix this? > > --HPS >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpXAGKG9y9uO_SUzc%2BxQxO8bWOvTgS__EMrUe%2BgShguLfw>