Project

General

Profile

Actions

Bug #10656

closed

stmf: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    ../../common/io/comstar/stmf/stmf.c: In function 'stmf_create_kstat_lport':
    ../../common/io/comstar/stmf/stmf.c:2901:41: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
      ilport->ilport_kstat_tgt_name[len + 1] = NULL;
                                             ^
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 3 years ago

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

git commit bad5e46855e02a281fd72c9a6472d9ae98c108dd

commit  bad5e46855e02a281fd72c9a6472d9ae98c108dd
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-05T12:40:09.000Z

    10656 stmf: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF