svn commit: r290475 - in head: share/man/man9 sys/kern sys/sys

Conrad Meyer cem at FreeBSD.org
Sat Nov 7 18:26:51 UTC 2015


Can do — fixed in r290505.

Thanks,
Conrad

On Sat, Nov 7, 2015 at 3:20 AM, Hans Petter Selasky <hps at 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
>


More information about the svn-src-head mailing list