Project

General

Profile

Bug #10739

namefs: NULL pointer errors

Added by Toomas Soome 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    In file included from ../../common/sys/param.h:48:0,
                     from ../../common/fs/namefs/namevfs.c:35:
    ../../common/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
     #define NULL ((void *)0)
                  ^
    ../../common/fs/namefs/namevfs.c:727:2: note: in expansion of macro 'NULL'
      NULL,
      ^~~~
    ../../common/sys/null.h:32:14: note: (near initialization for 'nm_mntopts.mo_count')
     #define NULL ((void *)0)
                  ^
    ../../common/fs/namefs/namevfs.c:727:2: note: in expansion of macro 'NULL'
      NULL,
      ^~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 7 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit c691c733a0821d03d0c0cf6d97e09749e20f190a

commit  c691c733a0821d03d0c0cf6d97e09749e20f190a
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-18T05:37:25.000Z

    10739 namefs: NULL pointer errors
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF