From owner-svn-src-head@freebsd.org Sat Nov 7 11:18:40 2015 Return-Path: <owner-svn-src-head@freebsd.org> Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9596EA272EC; Sat, 7 Nov 2015 11:18:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B1251DCD; Sat, 7 Nov 2015 11:18:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 405B31FE023; Sat, 7 Nov 2015 12:18:38 +0100 (CET) Subject: Re: svn commit: r290475 - in head: share/man/man9 sys/kern sys/sys To: Svatopluk Kraus <onwahe@gmail.com>, "Conrad E. Meyer" <cem@freebsd.org> References: <201511070143.tA71h13k038232@repo.freebsd.org> <CAFHCsPUagzwtFZvJ10bAeEH8y8Lkz0N1WL99fbBiBKOb=Mk-rQ@mail.gmail.com> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Hans Petter Selasky <hps@selasky.org> Message-ID: <563DDE73.6030307@selasky.org> Date: Sat, 7 Nov 2015 12:20:19 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <CAFHCsPUagzwtFZvJ10bAeEH8y8Lkz0N1WL99fbBiBKOb=Mk-rQ@mail.gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current <svn-src-head.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-head>, <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head/> List-Post: <mailto:svn-src-head@freebsd.org> List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-head>, <mailto:svn-src-head-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 07 Nov 2015 11:18:40 -0000 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