From owner-svn-src-all@freebsd.org Sat Nov 7 11:18:40 2015 Return-Path: Delivered-To: svn-src-all@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 , "Conrad E. Meyer" References: <201511070143.tA71h13k038232@repo.freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Hans Petter Selasky 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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