Project

General

Profile

Bug #10783

des: NULL pointer errors

Added by Toomas Soome 4 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-14
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    In file included from ../../common/sys/param.h:48:0,
                     from ../../common/sys/t_lock.h:38,
                     from ../../common/sys/thread.h:36,
                     from ../../common/sys/modctl.h:35,
                     from ../../common/des/des_crypt.c:40:
    ../../common/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
     #define NULL ((void *)0)
                  ^
    ../../common/des/des_crypt.c:248:55: note: in expansion of macro 'NULL'
     static crypto_kcf_provider_handle_t des_prov_handle = NULL;
                                                           ^~~~
    cc1: all warnings being treated as errors

Also available in: Atom PDF